#74871F#74871F

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

Color values

HEX#74871F
RGBrgb(116, 135, 31)
HSLhsl(71, 63%, 33%)
HSVhsv(71, 77%, 53%)
CMYKcmyk(14.1%, 0%, 77%, 47.1%)
CIE-LABlab(53.10, -21.12, 49.85)
CIE-LCHlch(53.10, 54.14, 112.96°)
OKLaboklab(58.85% -0.0628 0.1101)
OKLCHoklch(58.85% 0.127 119.7)
XYZxyz(16.1141, 21.1400, 4.5276)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74871F #321F87
analogous
#87661F #74871F #40871F
triadic
#74871F #1F7487 #871F74
tetradic
#74871F #1F8766 #321F87 #871F40
square
#74871F #1F8766 #321F87 #871F40
split-complementary
#74871F #1F4087 #661F87
monochromatic
#1E2308 #495514 #74871F #9FB92A #BCD64B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##74871F#FFFFFF#000000##000000
##74871F1.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)
#907F07
Deuteranopia (green-blind)
#8E7F28
Tritanopia (blue-blind)
#7B7F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #74871f;
/* rgb */ color: rgb(116, 135, 31);
/* oklch */ color: oklch(58.9% 0.127 119.7);
Tailwind
colors: {
  custom: {
    50: '#9faa63',
    500: '#74871f',
    950: '#000000',
  },
}
SCSS
$custom: #74871f;
$custom-light: #9faa63;
$custom-dark: #000000;
JSON
{
  "hex": "#74871f",
  "rgb": {
    "r": 116,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 70.962,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5885,
    "c": 0.12674,
    "h": 119.7
  },
  "luminance": 0.2114
}

Semantic roles & 50–950 ramp

primary
#74871F
secondary
#5E4AB8
accent
#42E660
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #74871F

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

Preview Lab → · Contrast checker → · Palette generator →

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