#74871E#74871E

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

Color values

HEX#74871E
RGBrgb(116, 135, 30)
HSLhsl(71, 64%, 32%)
HSVhsv(71, 78%, 53%)
CMYKcmyk(14.1%, 0%, 77.8%, 47.1%)
CIE-LABlab(53.10, -21.17, 50.19)
CIE-LCHlch(53.10, 54.48, 112.87°)
OKLaboklab(58.84% -0.063 0.1106)
OKLCHoklch(58.84% 0.127 119.7)
XYZxyz(16.1011, 21.1348, 4.4592)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74871E #311E87
analogous
#87651E #74871E #40871E
triadic
#74871E #1E7487 #871E74
tetradic
#74871E #1E8765 #311E87 #871E40
square
#74871E #1E8765 #311E87 #871E40
split-complementary
#74871E #1E4087 #651E87
monochromatic
#1E2308 #495513 #74871E #9FB929 #BDD749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #74871e;
/* rgb */ color: rgb(116, 135, 30);
/* oklch */ color: oklch(58.8% 0.127 119.7);
Tailwind
colors: {
  custom: {
    50: '#9faa63',
    500: '#74871e',
    950: '#000000',
  },
}
SCSS
$custom: #74871e;
$custom-light: #9faa63;
$custom-dark: #000000;
JSON
{
  "hex": "#74871e",
  "rgb": {
    "r": 116,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 70.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58844,
    "c": 0.12732,
    "h": 119.7
  },
  "luminance": 0.21135
}

Semantic roles & 50–950 ramp

primary
#74871E
secondary
#5C48B9
accent
#41E75F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #74871E

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

Preview Lab → · Contrast checker → · Palette generator →

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