#45801F#45801F

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

Color values

HEX#45801F
RGBrgb(69, 128, 31)
HSLhsl(96, 61%, 31%)
HSVhsv(96, 76%, 50%)
CMYKcmyk(46.1%, 0%, 75.8%, 49.8%)
CIE-LABlab(48.01, -36.60, 43.93)
CIE-LCHlch(48.01, 57.18, 129.80°)
OKLaboklab(53.96% -0.1019 0.0988)
OKLCHoklch(53.96% 0.142 135.9)
XYZxyz(10.4205, 16.8018, 3.9901)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45801F #5A1F80
analogous
#75801F #45801F #1F8029
triadic
#45801F #1F4580 #801F45
tetradic
#45801F #1F7580 #5A1F80 #80291F
square
#45801F #1F7580 #5A1F80 #80291F
split-complementary
#45801F #291F80 #801F75
monochromatic
#101D07 #2A4F13 #45801F #60B12B #7ED247

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45801F#FFFFFF#000000##FFFFFF
##45801F1.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)
#85750C
Deuteranopia (green-blind)
#7D7029
Tritanopia (blue-blind)
#437B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #45801f;
/* rgb */ color: rgb(69, 128, 31);
/* oklch */ color: oklch(54.0% 0.142 135.9);
Tailwind
colors: {
  custom: {
    50: '#7ea562',
    500: '#45801f',
    950: '#000000',
  },
}
SCSS
$custom: #45801f;
$custom-light: #7ea562;
$custom-dark: #000000;
JSON
{
  "hex": "#45801f",
  "rgb": {
    "r": 69,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 96.495,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53958,
    "c": 0.14193,
    "h": 135.9
  },
  "luminance": 0.16802
}

Semantic roles & 50–950 ramp

primary
#45801F
secondary
#8948B3
accent
#44E4A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #45801F

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

Preview Lab → · Contrast checker → · Palette generator →

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