#45831D#45831D

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

Color values

HEX#45831D
RGBrgb(69, 131, 29)
HSLhsl(96, 64%, 31%)
HSVhsv(96, 78%, 51%)
CMYKcmyk(47.3%, 0%, 77.9%, 48.6%)
CIE-LABlab(48.99, -38.01, 45.63)
CIE-LCHlch(48.99, 59.39, 129.79°)
OKLaboklab(54.76% -0.1059 0.102)
OKLCHoklch(54.76% 0.147 136.1)
XYZxyz(10.7920, 17.5858, 3.9879)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45831D #5B1D83
analogous
#78831D #45831D #1D8328
triadic
#45831D #1D4583 #831D45
tetradic
#45831D #1D7883 #5B1D83 #83281D
square
#45831D #1D7883 #5B1D83 #83281D
split-complementary
#45831D #281D83 #831D78
monochromatic
#101F07 #2B5112 #45831D #5FB528 #7ED645

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45831D#FFFFFF#000000##FFFFFF
##45831D1.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)
#887806
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#427E70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #45831d;
/* rgb */ color: rgb(69, 131, 29);
/* oklch */ color: oklch(54.8% 0.147 136.1);
Tailwind
colors: {
  custom: {
    50: '#7fa761',
    500: '#45831d',
    950: '#000000',
  },
}
SCSS
$custom: #45831d;
$custom-light: #7fa761;
$custom-dark: #000000;
JSON
{
  "hex": "#45831d",
  "rgb": {
    "r": 69,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 96.471,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54759,
    "c": 0.14703,
    "h": 136.1
  },
  "luminance": 0.17587
}

Semantic roles & 50–950 ramp

primary
#45831D
secondary
#8A46B6
accent
#41E7A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #45831D

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

Preview Lab → · Contrast checker → · Palette generator →

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