#7E7929#7E7929

#7E7929 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.5% C 0.101 H 105.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7E7929
RGBrgb(126, 121, 41)
HSLhsl(56, 51%, 33%)
HSVhsv(56, 67%, 49%)
CMYKcmyk(0%, 4%, 67.5%, 50.6%)
CIE-LABlab(49.82, -8.55, 42.89)
CIE-LCHlch(49.82, 43.73, 101.28°)
OKLaboklab(56.45% -0.0273 0.0969)
OKLCHoklch(56.45% 0.101 105.7)
XYZxyz(15.8424, 18.2710, 4.7895)
Luminance0.1827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7929 #292E7E
analogous
#7E4F29 #7E7929 #587E29
triadic
#7E7929 #297E79 #79297E
tetradic
#7E7929 #297E4F #292E7E #7E2958
square
#7E7929 #297E4F #292E7E #7E2958
split-complementary
#7E7929 #29587E #4F297E
monochromatic
#22200B #504D1A #7E7929 #ACA538 #C9C259

Accessibility & contrast

On white

4.51
#7E7929 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7E7929 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7929
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7929#FFFFFF#000000##000000
##7E79291.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#83751E
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#877169
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e7929;
/* rgb */ color: rgb(126, 121, 41);
/* oklch */ color: oklch(56.5% 0.101 105.7);
Tailwind
colors: {
  custom: {
    50: '#a69f67',
    500: '#7e7929',
    950: '#000000',
  },
}
SCSS
$custom: #7e7929;
$custom-light: #a69f67;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7929",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 41
  },
  "hsl": {
    "h": 56.471,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5645,
    "c": 0.10065,
    "h": 105.7
  },
  "luminance": 0.1827
}

Semantic roles & 50–950 ramp

primary
#7E7929
secondary
#555AAE
accent
#56DA4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7E7929

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7E7929 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva