#45811C#45811C

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

Color values

HEX#45811C
RGBrgb(69, 129, 28)
HSLhsl(96, 64%, 31%)
HSVhsv(96, 78%, 51%)
CMYKcmyk(46.5%, 0%, 78.3%, 49.4%)
CIE-LABlab(48.32, -37.23, 45.34)
CIE-LCHlch(48.32, 58.67, 129.39°)
OKLaboklab(54.21% -0.1038 0.1013)
OKLCHoklch(54.21% 0.145 135.7)
XYZxyz(10.5138, 17.0489, 3.8352)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45811C #581C81
analogous
#77811C #45811C #1C8126
triadic
#45811C #1C4581 #811C45
tetradic
#45811C #1C7781 #581C81 #81261C
square
#45811C #1C7781 #581C81 #81261C
split-complementary
#45811C #261C81 #811C77
monochromatic
#0F1C06 #2A4F11 #45811C #60B327 #7ED642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45811C#FFFFFF#000000##FFFFFF
##45811C1.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)
#867605
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#437C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #45811c;
/* rgb */ color: rgb(69, 129, 28);
/* oklch */ color: oklch(54.2% 0.145 135.7);
Tailwind
colors: {
  custom: {
    50: '#7fa660',
    500: '#45811c',
    950: '#000000',
  },
}
SCSS
$custom: #45811c;
$custom-light: #7fa660;
$custom-dark: #000000;
JSON
{
  "hex": "#45811c",
  "rgb": {
    "r": 69,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 95.644,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54208,
    "c": 0.14504,
    "h": 135.7
  },
  "luminance": 0.1705
}

Semantic roles & 50–950 ramp

primary
#45811C
secondary
#8744B4
accent
#40E7A4
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #45811C

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

Preview Lab → · Contrast checker → · Palette generator →

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