#45811A#45811A

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

Color values

HEX#45811A
RGBrgb(69, 129, 26)
HSLhsl(95, 66%, 30%)
HSVhsv(95, 80%, 51%)
CMYKcmyk(46.5%, 0%, 79.8%, 49.4%)
CIE-LABlab(48.31, -37.36, 46.02)
CIE-LCHlch(48.31, 59.27, 129.07°)
OKLaboklab(54.2% -0.1043 0.1024)
OKLCHoklch(54.2% 0.146 135.5)
XYZxyz(10.4907, 17.0397, 3.7133)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45811A #561A81
analogous
#79811A #45811A #1A8122
triadic
#45811A #1A4581 #811A45
tetradic
#45811A #1A7981 #561A81 #81221A
square
#45811A #1A7981 #561A81 #81221A
split-complementary
#45811A #221A81 #811A79
monochromatic
#0F1B05 #2A4E10 #45811A #60B424 #7ED83D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45811A#FFFFFF#000000##FFFFFF
##45811A1.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)
#867600
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#437C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #45811a;
/* rgb */ color: rgb(69, 129, 26);
/* oklch */ color: oklch(54.2% 0.146 135.5);
Tailwind
colors: {
  custom: {
    50: '#7fa65f',
    500: '#45811a',
    950: '#000000',
  },
}
SCSS
$custom: #45811a;
$custom-light: #7fa65f;
$custom-dark: #000000;
JSON
{
  "hex": "#45811a",
  "rgb": {
    "r": 69,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 94.951,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54195,
    "c": 0.14615,
    "h": 135.5
  },
  "luminance": 0.1704
}

Semantic roles & 50–950 ramp

primary
#45811A
secondary
#8542B5
accent
#3EE9A2
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #45811A

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

Preview Lab → · Contrast checker → · Palette generator →

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