#74871A#74871A

#74871A 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#74871A
RGBrgb(116, 135, 26)
HSLhsl(70, 68%, 32%)
HSVhsv(70, 81%, 53%)
CMYKcmyk(14.1%, 0%, 80.7%, 47.1%)
CIE-LABlab(53.08, -21.36, 51.48)
CIE-LCHlch(53.08, 55.74, 112.53°)
OKLaboklab(58.82% -0.0639 0.1126)
OKLCHoklch(58.82% 0.129 119.6)
XYZxyz(16.0532, 21.1156, 4.2071)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74871A #2D1A87
analogous
#87641A #74871A #3E871A
triadic
#74871A #1A7487 #871A74
tetradic
#74871A #1A8764 #2D1A87 #871A3E
square
#74871A #1A8764 #2D1A87 #871A3E
split-complementary
#74871A #1A3E87 #641A87
monochromatic
#1C2006 #485410 #74871A #A0BA24 #C0DA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##74871A#FFFFFF#000000##000000
##74871A1.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)
#8E7F25
Tritanopia (blue-blind)
#7B7F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #74871a;
/* rgb */ color: rgb(116, 135, 26);
/* oklch */ color: oklch(58.8% 0.129 119.6);
Tailwind
colors: {
  custom: {
    50: '#9faa61',
    500: '#74871a',
    950: '#000000',
  },
}
SCSS
$custom: #74871a;
$custom-light: #9faa61;
$custom-dark: #000000;
JSON
{
  "hex": "#74871a",
  "rgb": {
    "r": 116,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 70.459,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5882,
    "c": 0.12948,
    "h": 119.6
  },
  "luminance": 0.21116
}

Semantic roles & 50–950 ramp

primary
#74871A
secondary
#5742BA
accent
#3DEB5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #74871A

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

Preview Lab → · Contrast checker → · Palette generator →

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