#45901C#45901C

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

Color values

HEX#45901C
RGBrgb(69, 144, 28)
HSLhsl(99, 67%, 34%)
HSVhsv(99, 81%, 56%)
CMYKcmyk(52.1%, 0%, 80.6%, 43.5%)
CIE-LABlab(53.27, -43.39, 50.06)
CIE-LCHlch(53.27, 66.25, 130.91°)
OKLaboklab(58.28% -0.1204 0.1111)
OKLCHoklch(58.28% 0.164 137.3)
XYZxyz(12.6367, 21.2946, 4.5428)
Luminance0.2130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45901C #671C90
analogous
#7F901C #45901C #1C902D
triadic
#45901C #1C4590 #901C45
tetradic
#45901C #1C7F90 #671C90 #902D1C
square
#45901C #1C7F90 #671C90 #902D1C
split-complementary
#45901C #2D1C90 #901C7F
monochromatic
#142A08 #2C5D12 #45901C #5EC326 #7EDC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45901C#FFFFFF#000000##000000
##45901C1.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: #45901c;
/* rgb */ color: rgb(69, 144, 28);
/* oklch */ color: oklch(58.3% 0.164 137.3);
Tailwind
colors: {
  custom: {
    50: '#81b163',
    500: '#45901c',
    950: '#000000',
  },
}
SCSS
$custom: #45901c;
$custom-light: #81b163;
$custom-dark: #000000;
JSON
{
  "hex": "#45901c",
  "rgb": {
    "r": 69,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 98.793,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58277,
    "c": 0.16385,
    "h": 137.3
  },
  "luminance": 0.21296
}

Semantic roles & 50–950 ramp

primary
#45901C
secondary
#954ABE
accent
#3DEAAD
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #45901C

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

Preview Lab → · Contrast checker → · Palette generator →

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