#45831B#45831B

#45831B is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.7% C 0.148 H 135.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#45831B
RGBrgb(69, 131, 27)
HSLhsl(96, 66%, 31%)
HSVhsv(96, 79%, 51%)
CMYKcmyk(47.3%, 0%, 79.4%, 48.6%)
CIE-LABlab(48.98, -38.14, 46.32)
CIE-LCHlch(48.98, 60.00, 129.47°)
OKLaboklab(54.75% -0.1064 0.1031)
OKLCHoklch(54.75% 0.148 135.9)
XYZxyz(10.7681, 17.5763, 3.8619)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45831B #591B83
analogous
#79831B #45831B #1B8325
triadic
#45831B #1B4583 #831B45
tetradic
#45831B #1B7983 #591B83 #83251B
square
#45831B #1B7983 #591B83 #83251B
split-complementary
#45831B #251B83 #831B79
monochromatic
#101E06 #2A5011 #45831B #60B625 #7ED841

Accessibility & contrast

On white

4.65
#45831B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#45831B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #45831B
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45831B#FFFFFF#000000##FFFFFF
##45831B1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887801
Deuteranopia (green-blind)
#807226
Tritanopia (blue-blind)
#437E70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #45831b;
/* rgb */ color: rgb(69, 131, 27);
/* oklch */ color: oklch(54.7% 0.148 135.9);
Tailwind
colors: {
  custom: {
    50: '#7fa760',
    500: '#45831b',
    950: '#000000',
  },
}
SCSS
$custom: #45831b;
$custom-light: #7fa760;
$custom-dark: #000000;
JSON
{
  "hex": "#45831b",
  "rgb": {
    "r": 69,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 95.769,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54745,
    "c": 0.14816,
    "h": 135.9
  },
  "luminance": 0.17577
}

Semantic roles & 50–950 ramp

primary
#45831B
secondary
#8843B6
accent
#3FE9A4
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #45831B

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

Preview Lab → · Contrast checker → · Palette generator →

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