#7D7024#7D7024

#7D7024 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.2% C 0.096 H 99.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7D7024
RGBrgb(125, 112, 36)
HSLhsl(51, 55%, 32%)
HSVhsv(51, 71%, 49%)
CMYKcmyk(0%, 10.4%, 71.2%, 51%)
CIE-LABlab(47.07, -4.27, 42.24)
CIE-LCHlch(47.07, 42.46, 95.78°)
OKLaboklab(54.23% -0.0157 0.0946)
OKLCHoklch(54.23% 0.096 99.4)
XYZxyz(14.5707, 16.0764, 4.0043)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7024 #24317D
analogous
#7D4424 #7D7024 #5E7D24
triadic
#7D7024 #247D70 #70247D
tetradic
#7D7024 #247D44 #24317D #7D245E
square
#7D7024 #247D44 #24317D #7D245E
split-complementary
#7D7024 #245E7D #44247D
monochromatic
#1E1B09 #4D4516 #7D7024 #AD9B32 #CCBA4F

Accessibility & contrast

On white

4.98
#7D7024 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D7024
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7024#FFFFFF#000000##FFFFFF
##7D70241.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d7024;
/* rgb */ color: rgb(125, 112, 36);
/* oklch */ color: oklch(54.2% 0.096 99.4);
Tailwind
colors: {
  custom: {
    50: '#a69863',
    500: '#7d7024',
    950: '#000000',
  },
}
SCSS
$custom: #7d7024;
$custom-light: #a69863;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7024",
  "rgb": {
    "r": 125,
    "g": 112,
    "b": 36
  },
  "hsl": {
    "h": 51.236,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5423,
    "c": 0.09593,
    "h": 99.4
  },
  "luminance": 0.16076
}

Semantic roles & 50–950 ramp

primary
#7D7024
secondary
#4D5CAF
accent
#5FDF49
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D05
muted
#7F7E7A

Preview Lab

Preview with #7D7024

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

Preview Lab → · Contrast checker → · Palette generator →

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