#74872D#74872D

#74872D is a mid, moderate yellow-green. Relative luminance 0.212; OKLCH L 59.0% C 0.117 H 120.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#74872D
RGBrgb(116, 135, 45)
HSLhsl(73, 50%, 35%)
HSVhsv(73, 67%, 53%)
CMYKcmyk(14.1%, 0%, 66.7%, 47.1%)
CIE-LABlab(53.20, -20.26, 44.41)
CIE-LCHlch(53.20, 48.81, 114.52°)
OKLaboklab(58.96% -0.0591 0.101)
OKLCHoklch(58.96% 0.117 120.3)
XYZxyz(16.3403, 21.2305, 5.7192)
Luminance0.2123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74872D #402D87
analogous
#876D2D #74872D #47872D
triadic
#74872D #2D7487 #872D74
tetradic
#74872D #2D876D #402D87 #872D47
square
#74872D #2D876D #402D87 #872D47
split-complementary
#74872D #2D4787 #6D2D87
monochromatic
#252B0E #4D591E #74872D #9BB53C #B5CB63

Accessibility & contrast

On white

4.00
#74872D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#74872D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #74872D
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74872D#FFFFFF#000000##000000
##74872D1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F21
Deuteranopia (green-blind)
#8D7F34
Tritanopia (blue-blind)
#7A8075
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #74872d;
/* rgb */ color: rgb(116, 135, 45);
/* oklch */ color: oklch(59.0% 0.117 120.3);
Tailwind
colors: {
  custom: {
    50: '#9eaa6b',
    500: '#74872d',
    950: '#000000',
  },
}
SCSS
$custom: #74872d;
$custom-light: #9eaa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#74872d",
  "rgb": {
    "r": 116,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 72.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58961,
    "c": 0.11698,
    "h": 120.3
  },
  "luminance": 0.2123
}

Semantic roles & 50–950 ramp

primary
#74872D
secondary
#705EB2
accent
#4EDA6C
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #74872D

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

Preview Lab → · Contrast checker → · Palette generator →

#74872D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva