#45801C#45801C

#45801C is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 53.9% C 0.144 H 135.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#45801C
RGBrgb(69, 128, 28)
HSLhsl(95, 64%, 31%)
HSVhsv(95, 78%, 50%)
CMYKcmyk(46.1%, 0%, 78.1%, 49.8%)
CIE-LABlab(47.99, -36.80, 45.02)
CIE-LCHlch(47.99, 58.15, 129.27°)
OKLaboklab(53.94% -0.1027 0.1006)
OKLCHoklch(53.94% 0.144 135.6)
XYZxyz(10.3828, 16.7868, 3.7915)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45801C #571C80
analogous
#77801C #45801C #1C8025
triadic
#45801C #1C4580 #801C45
tetradic
#45801C #1C7780 #571C80 #80251C
square
#45801C #1C7780 #571C80 #80251C
split-complementary
#45801C #251C80 #801C77
monochromatic
#0F1C06 #2A4E11 #45801C #60B227 #7ED541

Accessibility & contrast

On white

4.82
#45801C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#45801C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45801C
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45801C#FFFFFF#000000##FFFFFF
##45801C1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857505
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#437B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #45801c;
/* rgb */ color: rgb(69, 128, 28);
/* oklch */ color: oklch(53.9% 0.144 135.6);
Tailwind
colors: {
  custom: {
    50: '#7fa560',
    500: '#45801c',
    950: '#000000',
  },
}
SCSS
$custom: #45801c;
$custom-light: #7fa560;
$custom-dark: #000000;
JSON
{
  "hex": "#45801c",
  "rgb": {
    "r": 69,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 95.4,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53936,
    "c": 0.14374,
    "h": 135.6
  },
  "luminance": 0.16787
}

Semantic roles & 50–950 ramp

primary
#45801C
secondary
#8644B3
accent
#41E7A3
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #45801C

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

Preview Lab → · Contrast checker → · Palette generator →

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