#45901B#45901B

#45901B is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.3% C 0.164 H 137.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#45901B
RGBrgb(69, 144, 27)
HSLhsl(98, 68%, 34%)
HSVhsv(98, 81%, 56%)
CMYKcmyk(52.1%, 0%, 81.3%, 43.5%)
CIE-LABlab(53.27, -43.44, 50.37)
CIE-LCHlch(53.27, 66.52, 130.78°)
OKLaboklab(58.27% -0.1206 0.1116)
OKLCHoklch(58.27% 0.164 137.2)
XYZxyz(12.6249, 21.2899, 4.4808)
Luminance0.2129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45901B #661B90
analogous
#7F901B #45901B #1B902C
triadic
#45901B #1B4590 #901B45
tetradic
#45901B #1B7F90 #661B90 #902C1B
square
#45901B #1B7F90 #661B90 #902C1B
split-complementary
#45901B #2C1B90 #901B7F
monochromatic
#142908 #2C5C11 #45901B #5EC425 #7EDD49

Accessibility & contrast

On white

3.99
#45901B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#45901B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #45901B
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45901B#FFFFFF#000000##000000
##45901B1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8B7D29
Tritanopia (blue-blind)
#408B7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #45901b;
/* rgb */ color: rgb(69, 144, 27);
/* oklch */ color: oklch(58.3% 0.164 137.2);
Tailwind
colors: {
  custom: {
    50: '#81b162',
    500: '#45901b',
    950: '#000000',
  },
}
SCSS
$custom: #45901b;
$custom-light: #81b162;
$custom-dark: #000000;
JSON
{
  "hex": "#45901b",
  "rgb": {
    "r": 69,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 98.462,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58272,
    "c": 0.16434,
    "h": 137.2
  },
  "luminance": 0.21291
}

Semantic roles & 50–950 ramp

primary
#45901B
secondary
#9448BF
accent
#3DEBAD
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #45901B

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

Preview Lab → · Contrast checker → · Palette generator →

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