#7D7D29#7D7D29

#7D7D29 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.3% C 0.105 H 109.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7D7D29
RGBrgb(125, 125, 41)
HSLhsl(60, 51%, 33%)
HSVhsv(60, 67%, 49%)
CMYKcmyk(0%, 0%, 67.2%, 51%)
CIE-LABlab(50.91, -11.21, 43.98)
CIE-LCHlch(50.91, 45.39, 104.30°)
OKLaboklab(57.29% -0.0348 0.0992)
OKLCHoklch(57.29% 0.105 109.3)
XYZxyz(16.1918, 19.1878, 4.9481)
Luminance0.1919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7D29 #29297D
analogous
#7D5329 #7D7D29 #537D29
triadic
#7D7D29 #297D7D #7D297D
tetradic
#7D7D29 #297D53 #29297D #7D2953
square
#7D7D29 #297D53 #29297D #7D2953
split-complementary
#7D7D29 #29537D #53297D
monochromatic
#21210B #4F4F1A #7D7D29 #ABAB38 #C8C858

Accessibility & contrast

On white

4.34
#7D7D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7D7D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7D29
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7D29#FFFFFF#000000##000000
##7D7D291.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d7d29;
/* rgb */ color: rgb(125, 125, 41);
/* oklch */ color: oklch(57.3% 0.105 109.3);
Tailwind
colors: {
  custom: {
    50: '#a5a268',
    500: '#7d7d29',
    950: '#000000',
  },
}
SCSS
$custom: #7d7d29;
$custom-light: #a5a268;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7d29",
  "rgb": {
    "r": 125,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 60,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57292,
    "c": 0.10512,
    "h": 109.3
  },
  "luminance": 0.19187
}

Semantic roles & 50–950 ramp

primary
#7D7D29
secondary
#5454AE
accent
#4EDA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #7D7D29

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

Preview Lab → · Contrast checker → · Palette generator →

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