#45871A#45871A

#45871A is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 55.8% C 0.154 H 136.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#45871A
RGBrgb(69, 135, 26)
HSLhsl(96, 68%, 32%)
HSVhsv(96, 81%, 53%)
CMYKcmyk(48.9%, 0%, 80.7%, 47.1%)
CIE-LABlab(50.30, -39.87, 47.90)
CIE-LCHlch(50.30, 62.32, 129.77°)
OKLaboklab(55.83% -0.1111 0.1063)
OKLCHoklch(55.83% 0.154 136.3)
XYZxyz(11.3044, 18.6670, 3.9845)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45871A #5C1A87
analogous
#7C871A #45871A #1A8725
triadic
#45871A #1A4587 #871A45
tetradic
#45871A #1A7C87 #5C1A87 #87251A
square
#45871A #1A7C87 #5C1A87 #87251A
split-complementary
#45871A #251A87 #871A7C
monochromatic
#112006 #2B5410 #45871A #5FBA24 #7EDA41

Accessibility & contrast

On white

4.44
#45871A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#45871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #45871A
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45871A#FFFFFF#000000##000000
##45871A1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#837626
Tritanopia (blue-blind)
#428273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #45871a;
/* rgb */ color: rgb(69, 135, 26);
/* oklch */ color: oklch(55.8% 0.154 136.3);
Tailwind
colors: {
  custom: {
    50: '#80aa60',
    500: '#45871a',
    950: '#000000',
  },
}
SCSS
$custom: #45871a;
$custom-light: #80aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#45871a",
  "rgb": {
    "r": 69,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 96.33,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55826,
    "c": 0.15374,
    "h": 136.3
  },
  "luminance": 0.18668
}

Semantic roles & 50–950 ramp

primary
#45871A
secondary
#8B42BA
accent
#3DEBA6
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #45871A

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

Preview Lab → · Contrast checker → · Palette generator →

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