#45871C#45871C

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

Color values

HEX#45871C
RGBrgb(69, 135, 28)
HSLhsl(97, 66%, 32%)
HSVhsv(97, 79%, 53%)
CMYKcmyk(48.9%, 0%, 79.3%, 47.1%)
CIE-LABlab(50.31, -39.75, 47.25)
CIE-LCHlch(50.31, 61.74, 130.07°)
OKLaboklab(55.84% -0.1106 0.1052)
OKLCHoklch(55.84% 0.153 136.4)
XYZxyz(11.3275, 18.6762, 4.1064)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45871C #5E1C87
analogous
#7B871C #45871C #1C8728
triadic
#45871C #1C4587 #871C45
tetradic
#45871C #1C7B87 #5E1C87 #87281C
square
#45871C #1C7B87 #5E1C87 #87281C
split-complementary
#45871C #281C87 #871C7B
monochromatic
#112207 #2B5411 #45871C #5FBA27 #7DD845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45871C#FFFFFF#000000##000000
##45871C1.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)
#8C7B01
Deuteranopia (green-blind)
#837628
Tritanopia (blue-blind)
#428273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #45871c;
/* rgb */ color: rgb(69, 135, 28);
/* oklch */ color: oklch(55.8% 0.153 136.4);
Tailwind
colors: {
  custom: {
    50: '#7faa61',
    500: '#45871c',
    950: '#000000',
  },
}
SCSS
$custom: #45871c;
$custom-light: #7faa61;
$custom-dark: #000000;
JSON
{
  "hex": "#45871c",
  "rgb": {
    "r": 69,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 97.009,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55838,
    "c": 0.15268,
    "h": 136.4
  },
  "luminance": 0.18677
}

Semantic roles & 50–950 ramp

primary
#45871C
secondary
#8D45BA
accent
#3FE9A8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #45871C

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

Preview Lab → · Contrast checker → · Palette generator →

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