#7E7D29#7E7D29

#7E7D29 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.4% C 0.105 H 108.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7E7D29
RGBrgb(126, 125, 41)
HSLhsl(59, 51%, 33%)
HSVhsv(59, 67%, 49%)
CMYKcmyk(0%, 0.8%, 67.5%, 50.6%)
CIE-LABlab(50.99, -10.76, 44.10)
CIE-LCHlch(50.99, 45.40, 103.71°)
OKLaboklab(57.38% -0.0335 0.0994)
OKLCHoklch(57.38% 0.105 108.6)
XYZxyz(16.3386, 19.2634, 4.9549)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7D29 #292A7E
analogous
#7E5229 #7E7D29 #547E29
triadic
#7E7D29 #297E7D #7D297E
tetradic
#7E7D29 #297E52 #292A7E #7E2954
square
#7E7D29 #297E52 #292A7E #7E2954
split-complementary
#7E7D29 #29547E #52297E
monochromatic
#22210B #504F1A #7E7D29 #ACAB38 #C9C859

Accessibility & contrast

On white

4.33
#7E7D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7E7D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7D29
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7D29#FFFFFF#000000##000000
##7E7D291.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781E
Deuteranopia (green-blind)
#887B2E
Tritanopia (blue-blind)
#87756C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e7d29;
/* rgb */ color: rgb(126, 125, 41);
/* oklch */ color: oklch(57.4% 0.105 108.6);
Tailwind
colors: {
  custom: {
    50: '#a6a268',
    500: '#7e7d29',
    950: '#000000',
  },
}
SCSS
$custom: #7e7d29;
$custom-light: #a6a268;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7d29",
  "rgb": {
    "r": 126,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 59.294,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57383,
    "c": 0.10493,
    "h": 108.6
  },
  "luminance": 0.19263
}

Semantic roles & 50–950 ramp

primary
#7E7D29
secondary
#5556AE
accent
#4FDA4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #7E7D29

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

Preview Lab → · Contrast checker → · Palette generator →

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