#45841B#45841B

#45841B is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.0% C 0.149 H 136.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#45841B
RGBrgb(69, 132, 27)
HSLhsl(96, 66%, 31%)
HSVhsv(96, 80%, 52%)
CMYKcmyk(47.7%, 0%, 79.5%, 48.2%)
CIE-LABlab(49.31, -38.56, 46.64)
CIE-LCHlch(49.31, 60.51, 129.58°)
OKLaboklab(55.02% -0.1075 0.1038)
OKLCHoklch(55.02% 0.149 136)
XYZxyz(10.9031, 17.8462, 3.9068)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45841B #5A1B84
analogous
#79841B #45841B #1B8425
triadic
#45841B #1B4584 #841B45
tetradic
#45841B #1B7984 #5A1B84 #84251B
square
#45841B #1B7984 #5A1B84 #84251B
split-complementary
#45841B #251B84 #841B79
monochromatic
#101E06 #2A5111 #45841B #60B725 #7ED841

Accessibility & contrast

On white

4.60
#45841B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#45841B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #45841B
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45841B#FFFFFF#000000##FFFFFF
##45841B1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897801
Deuteranopia (green-blind)
#817326
Tritanopia (blue-blind)
#427F70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #45841b;
/* rgb */ color: rgb(69, 132, 27);
/* oklch */ color: oklch(55.0% 0.149 136.0);
Tailwind
colors: {
  custom: {
    50: '#7fa860',
    500: '#45841b',
    950: '#000000',
  },
}
SCSS
$custom: #45841b;
$custom-light: #7fa860;
$custom-dark: #000000;
JSON
{
  "hex": "#45841b",
  "rgb": {
    "r": 69,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 96,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55017,
    "c": 0.14943,
    "h": 136
  },
  "luminance": 0.17847
}

Semantic roles & 50–950 ramp

primary
#45841B
secondary
#8943B7
accent
#3FE9A5
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #45841B

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

Preview Lab → · Contrast checker → · Palette generator →

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