#7E6607

A color in the Yellow, Gold family

#7e6607 is a color in the Yellow, Gold family: RGB(126, 102, 7), HSL(48°, 89%, 26%), CMYK(0%, 19%, 94%, 51%). Closest named color: darkolivegreen. Contrast is 5.54:1 on white and 3.79:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7e6607
RGBrgb(126 102 7)
RGB (legacy)rgb(126, 102, 7)
RGB %rgb(49% 40% 3%)
HSLhsl(48 89% 26%)
HSV / HSBhsv(48, 94%, 49%)
HWBhwb(48 3% 51%)
CMYKcmyk(0%, 19%, 94%, 51%)
CIELAB (D50)lab(44.49 3.59 49.12)
LCHlch(44.49 49.25 85.82)
OKLaboklab(0.5191 -0.004 0.1039)
OKLCHoklch(0.5191 0.1039 92.19)
Decimal8283655

Properties

Color ToneYellow, Gold
Closest named colordarkolivegreen ΔE 6.3
Closest web-safe color#666600
Hue48°
Saturation (HSL / HSV)89% / 94%
Lightness (HSL)26%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)39% / 39%
Relative luminance (WCAG)0.1395
Red / Green / Blue126 / 102 / 7

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.54:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.79: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 77.5 / -24.3 · As background with white / black text: Lc -82.8 / 26.6

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: #7e6607;
  --color-brand-oklch: oklch(51.91% 0.1039 92.19);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(126 102 7 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7e6607] text-[#7e6607] border-[#7e6607]">