#45811B#45811B

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

Color values

HEX#45811B
RGBrgb(69, 129, 27)
HSLhsl(95, 65%, 31%)
HSVhsv(95, 79%, 51%)
CMYKcmyk(46.5%, 0%, 79.1%, 49.4%)
CIE-LABlab(48.32, -37.29, 45.68)
CIE-LCHlch(48.32, 58.97, 129.23°)
OKLaboklab(54.2% -0.1041 0.1018)
OKLCHoklch(54.2% 0.146 135.6)
XYZxyz(10.5021, 17.0442, 3.7732)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45811B #571B81
analogous
#78811B #45811B #1B8124
triadic
#45811B #1B4581 #811B45
tetradic
#45811B #1B7881 #571B81 #81241B
square
#45811B #1B7881 #571B81 #81241B
split-complementary
#45811B #241B81 #811B78
monochromatic
#0F1C06 #2A4E10 #45811B #60B426 #7ED73F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45811B#FFFFFF#000000##FFFFFF
##45811B1.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)
#867602
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#437C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #45811b;
/* rgb */ color: rgb(69, 129, 27);
/* oklch */ color: oklch(54.2% 0.146 135.6);
Tailwind
colors: {
  custom: {
    50: '#7fa660',
    500: '#45811b',
    950: '#000000',
  },
}
SCSS
$custom: #45811b;
$custom-light: #7fa660;
$custom-dark: #000000;
JSON
{
  "hex": "#45811b",
  "rgb": {
    "r": 69,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 95.294,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54201,
    "c": 0.1456,
    "h": 135.6
  },
  "luminance": 0.17045
}

Semantic roles & 50–950 ramp

primary
#45811B
secondary
#8643B5
accent
#3FE8A3
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #45811B

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

Preview Lab → · Contrast checker → · Palette generator →

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