#7D8A36#7D8A36

#7D8A36 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.5% C 0.110 H 117.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7D8A36
RGBrgb(125, 138, 54)
HSLhsl(69, 44%, 38%)
HSVhsv(69, 61%, 54%)
CMYKcmyk(9.4%, 0%, 60.9%, 45.9%)
CIE-LABlab(54.87, -17.22, 42.33)
CIE-LCHlch(54.87, 45.70, 112.13°)
OKLaboklab(60.5% -0.0502 0.0977)
OKLCHoklch(60.5% 0.11 117.2)
XYZxyz(18.2121, 22.8035, 6.9314)
Luminance0.2280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8A36 #43368A
analogous
#8A6D36 #7D8A36 #538A36
triadic
#7D8A36 #367D8A #8A367D
tetradic
#7D8A36 #368A6D #43368A #8A3653
square
#7D8A36 #368A6D #43368A #8A3653
split-complementary
#7D8A36 #36538A #6D368A
monochromatic
#2D3214 #555E25 #7D8A36 #A5B647 #BBC872

Accessibility & contrast

On white

3.78
#7D8A36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#7D8A36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8A36
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8A36#FFFFFF#000000##000000
##7D8A361.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93832D
Deuteranopia (green-blind)
#92843B
Tritanopia (blue-blind)
#848378
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7d8a36;
/* rgb */ color: rgb(125, 138, 54);
/* oklch */ color: oklch(60.5% 0.110 117.2);
Tailwind
colors: {
  custom: {
    50: '#a5ac71',
    500: '#7d8a36',
    950: '#000000',
  },
}
SCSS
$custom: #7d8a36;
$custom-light: #a5ac71;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8a36",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 54
  },
  "hsl": {
    "h": 69.286,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.605,
    "c": 0.10979,
    "h": 117.2
  },
  "luminance": 0.22803
}

Semantic roles & 50–950 ramp

primary
#7D8A36
secondary
#766BB1
accent
#54D368
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7D8A36

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

Preview Lab → · Contrast checker → · Palette generator →

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