#45871B#45871B

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

Color values

HEX#45871B
RGBrgb(69, 135, 27)
HSLhsl(97, 67%, 32%)
HSVhsv(97, 80%, 53%)
CMYKcmyk(48.9%, 0%, 80%, 47.1%)
CIE-LABlab(50.30, -39.81, 47.58)
CIE-LCHlch(50.30, 62.04, 129.92°)
OKLaboklab(55.83% -0.1108 0.1058)
OKLCHoklch(55.83% 0.153 136.3)
XYZxyz(11.3157, 18.6715, 4.0444)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45871B #5D1B87
analogous
#7B871B #45871B #1B8727
triadic
#45871B #1B4587 #871B45
tetradic
#45871B #1B7B87 #5D1B87 #87271B
square
#45871B #1B7B87 #5D1B87 #87271B
split-complementary
#45871B #271B87 #871B7B
monochromatic
#112107 #2B5411 #45871B #5FBA25 #7DD943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45871B#FFFFFF#000000##000000
##45871B1.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)
#837627
Tritanopia (blue-blind)
#428273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #45871b;
/* rgb */ color: rgb(69, 135, 27);
/* oklch */ color: oklch(55.8% 0.153 136.3);
Tailwind
colors: {
  custom: {
    50: '#80aa61',
    500: '#45871b',
    950: '#000000',
  },
}
SCSS
$custom: #45871b;
$custom-light: #80aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#45871b",
  "rgb": {
    "r": 69,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 96.667,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55832,
    "c": 0.15322,
    "h": 136.3
  },
  "luminance": 0.18672
}

Semantic roles & 50–950 ramp

primary
#45871B
secondary
#8C44BA
accent
#3EEAA7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #45871B

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

Preview Lab → · Contrast checker → · Palette generator →

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