#74871C#74871C

#74871C 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#74871C
RGBrgb(116, 135, 28)
HSLhsl(71, 66%, 32%)
HSVhsv(71, 79%, 53%)
CMYKcmyk(14.1%, 0%, 79.3%, 47.1%)
CIE-LABlab(53.09, -21.27, 50.85)
CIE-LCHlch(53.09, 55.12, 112.70°)
OKLaboklab(58.83% -0.0635 0.1117)
OKLCHoklch(58.83% 0.128 119.6)
XYZxyz(16.0764, 21.1249, 4.3290)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74871C #2F1C87
analogous
#87651C #74871C #3F871C
triadic
#74871C #1C7487 #871C74
tetradic
#74871C #1C8765 #2F1C87 #871C3F
square
#74871C #1C8765 #2F1C87 #871C3F
split-complementary
#74871C #1C3F87 #651C87
monochromatic
#1D2207 #485411 #74871C #A0BA27 #BED845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##74871C#FFFFFF#000000##000000
##74871C1.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)
#907F00
Deuteranopia (green-blind)
#8E7F26
Tritanopia (blue-blind)
#7B7F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #74871c;
/* rgb */ color: rgb(116, 135, 28);
/* oklch */ color: oklch(58.8% 0.128 119.6);
Tailwind
colors: {
  custom: {
    50: '#9faa62',
    500: '#74871c',
    950: '#000000',
  },
}
SCSS
$custom: #74871c;
$custom-light: #9faa62;
$custom-dark: #000000;
JSON
{
  "hex": "#74871c",
  "rgb": {
    "r": 116,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 70.654,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58831,
    "c": 0.12843,
    "h": 119.6
  },
  "luminance": 0.21125
}

Semantic roles & 50–950 ramp

primary
#74871C
secondary
#5A45BA
accent
#3FE95D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #74871C

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

Preview Lab → · Contrast checker → · Palette generator →

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