#74871B#74871B

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

Color values

HEX#74871B
RGBrgb(116, 135, 27)
HSLhsl(71, 67%, 32%)
HSVhsv(71, 80%, 53%)
CMYKcmyk(14.1%, 0%, 80%, 47.1%)
CIE-LABlab(53.08, -21.31, 51.17)
CIE-LCHlch(53.08, 55.43, 112.61°)
OKLaboklab(58.83% -0.0637 0.1122)
OKLCHoklch(58.83% 0.129 119.6)
XYZxyz(16.0646, 21.1202, 4.2670)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74871B #2E1B87
analogous
#87641B #74871B #3E871B
triadic
#74871B #1B7487 #871B74
tetradic
#74871B #1B8764 #2E1B87 #871B3E
square
#74871B #1B8764 #2E1B87 #871B3E
split-complementary
#74871B #1B3E87 #641B87
monochromatic
#1C2107 #485411 #74871B #A0BA25 #BFD943

Accessibility & contrast

On white

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

On black

5.22
#74871B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #74871B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74871B#FFFFFF#000000##000000
##74871B1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #74871b;
/* rgb */ color: rgb(116, 135, 27);
/* oklch */ color: oklch(58.8% 0.129 119.6);
Tailwind
colors: {
  custom: {
    50: '#9faa62',
    500: '#74871b',
    950: '#000000',
  },
}
SCSS
$custom: #74871b;
$custom-light: #9faa62;
$custom-dark: #000000;
JSON
{
  "hex": "#74871b",
  "rgb": {
    "r": 116,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 70.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58826,
    "c": 0.12897,
    "h": 119.6
  },
  "luminance": 0.2112
}

Semantic roles & 50–950 ramp

primary
#74871B
secondary
#5944BA
accent
#3EEA5C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #74871B

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

Preview Lab → · Contrast checker → · Palette generator →

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