#45811E#45811E

#45811E is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.2% C 0.144 H 135.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#45811E
RGBrgb(69, 129, 30)
HSLhsl(96, 62%, 31%)
HSVhsv(96, 77%, 51%)
CMYKcmyk(46.5%, 0%, 76.7%, 49.4%)
CIE-LABlab(48.33, -37.10, 44.63)
CIE-LCHlch(48.33, 58.03, 129.73°)
OKLaboklab(54.22% -0.1033 0.1001)
OKLCHoklch(54.22% 0.144 135.9)
XYZxyz(10.5386, 17.0588, 3.9654)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45811E #5A1E81
analogous
#76811E #45811E #1E8129
triadic
#45811E #1E4581 #811E45
tetradic
#45811E #1E7681 #5A1E81 #81291E
square
#45811E #1E7681 #5A1E81 #81291E
split-complementary
#45811E #291E81 #811E76
monochromatic
#101E07 #2A4F12 #45811E #60B32A #7ED446

Accessibility & contrast

On white

4.76
#45811E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#45811E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45811E
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45811E#FFFFFF#000000##FFFFFF
##45811E1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867609
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#437C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #45811e;
/* rgb */ color: rgb(69, 129, 30);
/* oklch */ color: oklch(54.2% 0.144 135.9);
Tailwind
colors: {
  custom: {
    50: '#7fa661',
    500: '#45811e',
    950: '#000000',
  },
}
SCSS
$custom: #45811e;
$custom-light: #7fa661;
$custom-dark: #000000;
JSON
{
  "hex": "#45811e",
  "rgb": {
    "r": 69,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 96.364,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54222,
    "c": 0.14386,
    "h": 135.9
  },
  "luminance": 0.17059
}

Semantic roles & 50–950 ramp

primary
#45811E
secondary
#8947B4
accent
#42E5A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #45811E

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

Preview Lab → · Contrast checker → · Palette generator →

#45811E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva