#7D8A25#7D8A25

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

Color values

HEX#7D8A25
RGBrgb(125, 138, 37)
HSLhsl(68, 58%, 34%)
HSVhsv(68, 73%, 54%)
CMYKcmyk(9.4%, 0%, 73.2%, 45.9%)
CIE-LABlab(54.73, -18.38, 49.46)
CIE-LCHlch(54.73, 52.77, 110.39°)
OKLaboklab(60.35% -0.0552 0.1101)
OKLCHoklch(60.35% 0.123 116.6)
XYZxyz(17.8803, 22.6707, 5.1839)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8A25 #32258A
analogous
#8A6525 #7D8A25 #4B8A25
triadic
#7D8A25 #257D8A #8A257D
tetradic
#7D8A25 #258A65 #32258A #8A254B
square
#7D8A25 #258A65 #32258A #8A254B
split-complementary
#7D8A25 #254B8A #65258A
monochromatic
#26290B #515A18 #7D8A25 #A9BA32 #C2D257

Accessibility & contrast

On white

3.79
#7D8A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D8A25#FFFFFF#000000##000000
##7D8A251.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d8a25;
/* rgb */ color: rgb(125, 138, 37);
/* oklch */ color: oklch(60.3% 0.123 116.6);
Tailwind
colors: {
  custom: {
    50: '#a6ac67',
    500: '#7d8a25',
    950: '#000000',
  },
}
SCSS
$custom: #7d8a25;
$custom-light: #a6ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8a25",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 67.723,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60345,
    "c": 0.12313,
    "h": 116.6
  },
  "luminance": 0.22671
}

Semantic roles & 50–950 ramp

primary
#7D8A25
secondary
#6154B7
accent
#47E15B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D8A25

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

Preview Lab → · Contrast checker → · Palette generator →

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