#7D7029#7D7029

#7D7029 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.3% C 0.092 H 98.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7D7029
RGBrgb(125, 112, 41)
HSLhsl(51, 51%, 33%)
HSVhsv(51, 67%, 49%)
CMYKcmyk(0%, 10.4%, 67.2%, 51%)
CIE-LABlab(47.12, -3.96, 40.01)
CIE-LCHlch(47.12, 40.20, 95.65°)
OKLaboklab(54.28% -0.0142 0.0908)
OKLCHoklch(54.28% 0.092 98.9)
XYZxyz(14.6525, 16.1091, 4.4350)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7029 #29367D
analogous
#7D4629 #7D7029 #607D29
triadic
#7D7029 #297D70 #70297D
tetradic
#7D7029 #297D46 #29367D #7D2960
square
#7D7029 #297D46 #29367D #7D2960
split-complementary
#7D7029 #29607D #46297D
monochromatic
#211D0B #4F471A #7D7029 #AB9938 #C8B758

Accessibility & contrast

On white

4.97
#7D7029 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7D7029 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7029
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7029#FFFFFF#000000##FFFFFF
##7D70291.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D20
Deuteranopia (green-blind)
#7E722D
Tritanopia (blue-blind)
#876861
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d7029;
/* rgb */ color: rgb(125, 112, 41);
/* oklch */ color: oklch(54.3% 0.092 98.9);
Tailwind
colors: {
  custom: {
    50: '#a59866',
    500: '#7d7029',
    950: '#000000',
  },
}
SCSS
$custom: #7d7029;
$custom-light: #a59866;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7029",
  "rgb": {
    "r": 125,
    "g": 112,
    "b": 41
  },
  "hsl": {
    "h": 50.714,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54277,
    "c": 0.09191,
    "h": 98.9
  },
  "luminance": 0.16108
}

Semantic roles & 50–950 ramp

primary
#7D7029
secondary
#5462AE
accent
#63DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7D7029

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

Preview Lab → · Contrast checker → · Palette generator →

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