#45871F#45871F

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

Color values

HEX#45871F
RGBrgb(69, 135, 31)
HSLhsl(98, 63%, 33%)
HSVhsv(98, 77%, 53%)
CMYKcmyk(48.9%, 0%, 77%, 47.1%)
CIE-LABlab(50.32, -39.55, 46.22)
CIE-LCHlch(50.32, 60.83, 130.56°)
OKLaboklab(55.86% -0.1099 0.1035)
OKLCHoklch(55.86% 0.151 136.7)
XYZxyz(11.3652, 18.6913, 4.3050)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45871F #611F87
analogous
#79871F #45871F #1F872D
triadic
#45871F #1F4587 #871F45
tetradic
#45871F #1F7987 #611F87 #872D1F
square
#45871F #1F7987 #611F87 #872D1F
split-complementary
#45871F #2D1F87 #871F79
monochromatic
#122308 #2C5514 #45871F #5EB92A #7ED64B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45871F#FFFFFF#000000##000000
##45871F1.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)
#8C7B08
Deuteranopia (green-blind)
#83762A
Tritanopia (blue-blind)
#428273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #45871f;
/* rgb */ color: rgb(69, 135, 31);
/* oklch */ color: oklch(55.9% 0.151 136.7);
Tailwind
colors: {
  custom: {
    50: '#7faa63',
    500: '#45871f',
    950: '#000000',
  },
}
SCSS
$custom: #45871f;
$custom-light: #7faa63;
$custom-dark: #000000;
JSON
{
  "hex": "#45871f",
  "rgb": {
    "r": 69,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 98.077,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55859,
    "c": 0.15099,
    "h": 136.7
  },
  "luminance": 0.18692
}

Semantic roles & 50–950 ramp

primary
#45871F
secondary
#904AB8
accent
#42E6AA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #45871F

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

Preview Lab → · Contrast checker → · Palette generator →

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