#487022#487022

#487022 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 49.8% C 0.116 H 132.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#487022
RGBrgb(72, 112, 34)
HSLhsl(91, 53%, 29%)
HSVhsv(91, 70%, 44%)
CMYKcmyk(35.7%, 0%, 69.6%, 56.1%)
CIE-LABlab(42.89, -28.00, 37.47)
CIE-LCHlch(42.89, 46.78, 126.77°)
OKLaboklab(49.82% -0.0786 0.0856)
OKLCHoklch(49.82% 0.116 132.5)
XYZxyz(8.7553, 13.0812, 3.5767)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487022 #4A2270
analogous
#6F7022 #487022 #227023
triadic
#487022 #224870 #702248
tetradic
#487022 #226F70 #4A2270 #702322
square
#487022 #226F70 #4A2270 #702322
split-complementary
#487022 #232270 #70226F
monochromatic
#0F1707 #2A4114 #487022 #669F30 #85C746

Accessibility & contrast

On white

5.81
#487022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#487022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487022
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487022#FFFFFF#000000##FFFFFF
##4870221.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756717
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#496B60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #487022;
/* rgb */ color: rgb(72, 112, 34);
/* oklch */ color: oklch(49.8% 0.116 132.5);
Tailwind
colors: {
  custom: {
    50: '#7e9961',
    500: '#487022',
    950: '#000000',
  },
}
SCSS
$custom: #487022;
$custom-light: #7e9961;
$custom-dark: #000000;
JSON
{
  "hex": "#487022",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 34
  },
  "hsl": {
    "h": 90.769,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49816,
    "c": 0.11621,
    "h": 132.5
  },
  "luminance": 0.13082
}

Semantic roles & 50–950 ramp

primary
#487022
secondary
#784AA3
accent
#4BDD96
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #487022

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

Preview Lab → · Contrast checker → · Palette generator →

#487022 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva