#7E7607

A color in the Yellow, Gold family

#7e7607 is a color in the Yellow, Gold family: RGB(126, 118, 7), HSL(56°, 89%, 26%), CMYK(0%, 6%, 94%, 51%). Closest named color: olive. Contrast is 4.69:1 on white and 4.48:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7e7607
RGBrgb(126 118 7)
RGB (legacy)rgb(126, 118, 7)
RGB %rgb(49% 46% 3%)
HSLhsl(56 89% 26%)
HSV / HSBhsv(56, 94%, 49%)
HWBhwb(56 3% 51%)
CMYKcmyk(0%, 6%, 94%, 51%)
CIELAB (D50)lab(49.06 -5.07 52.41)
LCHlch(49.06 52.66 95.53)
OKLaboklab(0.5556 -0.0294 0.1119)
OKLCHoklch(0.5556 0.1157 104.75)
Decimal8287751

Properties

Color ToneYellow, Gold
Closest named colorolive ΔE 2.9
Closest web-safe color#666600
Hue56°
Saturation (HSL / HSV)89% / 94%
Lightness (HSL)26%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)42% / 44%
Relative luminance (WCAG)0.1741
Red / Green / Blue126 / 118 / 7

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.69:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.48:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 72.4 / -29.3 · As background with white / black text: Lc -77.8 / 31.7

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #7e7607;
  --color-brand-oklch: oklch(55.56% 0.1157 104.75);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(126 118 7 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7e7607] text-[#7e7607] border-[#7e7607]">