#7D8424#7D8424

#7D8424 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 58.9% C 0.117 H 113.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7D8424
RGBrgb(125, 132, 36)
HSLhsl(64, 57%, 33%)
HSVhsv(64, 73%, 52%)
CMYKcmyk(5.3%, 0%, 72.7%, 48.2%)
CIE-LABlab(52.94, -15.28, 48.09)
CIE-LCHlch(52.94, 50.46, 107.63°)
OKLaboklab(58.9% -0.0467 0.107)
OKLCHoklch(58.9% 0.117 113.6)
XYZxyz(17.0276, 20.9902, 4.8233)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8424 #2B2484
analogous
#845B24 #7D8424 #4D8424
triadic
#7D8424 #247D84 #84247D
tetradic
#7D8424 #24845B #2B2484 #84244D
square
#7D8424 #24845B #2B2484 #84244D
split-complementary
#7D8424 #244D84 #5B2484
monochromatic
#22240A #4F5417 #7D8424 #ABB431 #C7D052

Accessibility & contrast

On white

4.04
#7D8424 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#7D8424 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8424
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8424#FFFFFF#000000##000000
##7D84241.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D13
Deuteranopia (green-blind)
#8E7F2B
Tritanopia (blue-blind)
#867C71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7d8424;
/* rgb */ color: rgb(125, 132, 36);
/* oklch */ color: oklch(58.9% 0.117 113.6);
Tailwind
colors: {
  custom: {
    50: '#a6a766',
    500: '#7d8424',
    950: '#000000',
  },
}
SCSS
$custom: #7d8424;
$custom-light: #a6a766;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8424",
  "rgb": {
    "r": 125,
    "g": 132,
    "b": 36
  },
  "hsl": {
    "h": 64.375,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58905,
    "c": 0.11673,
    "h": 113.6
  },
  "luminance": 0.2099
}

Semantic roles & 50–950 ramp

primary
#7D8424
secondary
#5750B4
accent
#47E053
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7D8424

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

Preview Lab → · Contrast checker → · Palette generator →

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