#7D8A24#7D8A24

#7D8A24 is a mid, vivid yellow. Relative luminance 0.227; OKLCH L 60.3% C 0.124 H 116.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7D8A24
RGBrgb(125, 138, 36)
HSLhsl(68, 59%, 34%)
HSVhsv(68, 74%, 54%)
CMYKcmyk(9.4%, 0%, 73.9%, 45.9%)
CIE-LABlab(54.73, -18.44, 49.83)
CIE-LCHlch(54.73, 53.14, 110.30°)
OKLaboklab(60.34% -0.0555 0.1107)
OKLCHoklch(60.34% 0.124 116.6)
XYZxyz(17.8648, 22.6645, 5.1023)
Luminance0.2266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8A24 #31248A
analogous
#8A6424 #7D8A24 #4A8A24
triadic
#7D8A24 #247D8A #8A247D
tetradic
#7D8A24 #248A64 #31248A #8A244A
square
#7D8A24 #248A64 #31248A #8A244A
split-complementary
#7D8A24 #244A8A #64248A
monochromatic
#25290B #515917 #7D8A24 #A9BB31 #C3D356

Accessibility & contrast

On white

3.80
#7D8A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#7D8A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8A24
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8A24#FFFFFF#000000##000000
##7D8A241.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948211
Deuteranopia (green-blind)
#93842C
Tritanopia (blue-blind)
#858276
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7d8a24;
/* rgb */ color: rgb(125, 138, 36);
/* oklch */ color: oklch(60.3% 0.124 116.6);
Tailwind
colors: {
  custom: {
    50: '#a6ac66',
    500: '#7d8a24',
    950: '#000000',
  },
}
SCSS
$custom: #7d8a24;
$custom-light: #a6ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8a24",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 67.647,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60338,
    "c": 0.12378,
    "h": 116.6
  },
  "luminance": 0.22664
}

Semantic roles & 50–950 ramp

primary
#7D8A24
secondary
#6053B7
accent
#46E25A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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