#45871E#45871E

#45871E is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 55.9% C 0.152 H 136.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#45871E
RGBrgb(69, 135, 30)
HSLhsl(98, 64%, 32%)
HSVhsv(98, 78%, 53%)
CMYKcmyk(48.9%, 0%, 77.8%, 47.1%)
CIE-LABlab(50.32, -39.62, 46.57)
CIE-LCHlch(50.32, 61.14, 130.39°)
OKLaboklab(55.85% -0.1101 0.1041)
OKLCHoklch(55.85% 0.152 136.6)
XYZxyz(11.3522, 18.6861, 4.2366)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45871E #601E87
analogous
#7A871E #45871E #1E872B
triadic
#45871E #1E4587 #871E45
tetradic
#45871E #1E7A87 #601E87 #872B1E
square
#45871E #1E7A87 #601E87 #872B1E
split-complementary
#45871E #2B1E87 #871E7A
monochromatic
#122308 #2B5513 #45871E #5FB929 #7DD749

Accessibility & contrast

On white

4.43
#45871E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#45871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #45871E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45871E#FFFFFF#000000##000000
##45871E1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #45871e;
/* rgb */ color: rgb(69, 135, 30);
/* oklch */ color: oklch(55.9% 0.152 136.6);
Tailwind
colors: {
  custom: {
    50: '#7faa62',
    500: '#45871e',
    950: '#000000',
  },
}
SCSS
$custom: #45871e;
$custom-light: #7faa62;
$custom-dark: #000000;
JSON
{
  "hex": "#45871e",
  "rgb": {
    "r": 69,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 97.714,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55852,
    "c": 0.15156,
    "h": 136.6
  },
  "luminance": 0.18687
}

Semantic roles & 50–950 ramp

primary
#45871E
secondary
#8F48B9
accent
#41E7A9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #45871E

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

Preview Lab → · Contrast checker → · Palette generator →

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