#74871D#74871D

#74871D is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.8% C 0.128 H 119.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#74871D
RGBrgb(116, 135, 29)
HSLhsl(71, 65%, 32%)
HSVhsv(71, 79%, 53%)
CMYKcmyk(14.1%, 0%, 78.5%, 47.1%)
CIE-LABlab(53.09, -21.22, 50.53)
CIE-LCHlch(53.09, 54.80, 112.78°)
OKLaboklab(58.84% -0.0632 0.1112)
OKLCHoklch(58.84% 0.128 119.6)
XYZxyz(16.0885, 21.1297, 4.3930)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74871D #301D87
analogous
#87651D #74871D #3F871D
triadic
#74871D #1D7487 #871D74
tetradic
#74871D #1D8765 #301D87 #871D3F
square
#74871D #1D8765 #301D87 #871D3F
split-complementary
#74871D #1D3F87 #651D87
monochromatic
#1D2207 #495512 #74871D #9FB928 #BED747

Accessibility & contrast

On white

4.02
#74871D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#74871D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #74871D
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74871D#FFFFFF#000000##000000
##74871D1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F02
Deuteranopia (green-blind)
#8E7F27
Tritanopia (blue-blind)
#7B7F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #74871d;
/* rgb */ color: rgb(116, 135, 29);
/* oklch */ color: oklch(58.8% 0.128 119.6);
Tailwind
colors: {
  custom: {
    50: '#9faa62',
    500: '#74871d',
    950: '#000000',
  },
}
SCSS
$custom: #74871d;
$custom-light: #9faa62;
$custom-dark: #000000;
JSON
{
  "hex": "#74871d",
  "rgb": {
    "r": 116,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 70.755,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58837,
    "c": 0.12788,
    "h": 119.6
  },
  "luminance": 0.2113
}

Semantic roles & 50–950 ramp

primary
#74871D
secondary
#5B46B9
accent
#40E85E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #74871D

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

Preview Lab → · Contrast checker → · Palette generator →

#74871D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva