#45831C#45831C

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

Color values

HEX#45831C
RGBrgb(69, 131, 28)
HSLhsl(96, 65%, 31%)
HSVhsv(96, 79%, 51%)
CMYKcmyk(47.3%, 0%, 78.6%, 48.6%)
CIE-LABlab(48.98, -38.08, 45.98)
CIE-LCHlch(48.98, 59.70, 129.63°)
OKLaboklab(54.75% -0.1061 0.1026)
OKLCHoklch(54.75% 0.148 136)
XYZxyz(10.7799, 17.5810, 3.9238)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45831C #5A1C83
analogous
#78831C #45831C #1C8327
triadic
#45831C #1C4583 #831C45
tetradic
#45831C #1C7883 #5A1C83 #83271C
square
#45831C #1C7883 #5A1C83 #83271C
split-complementary
#45831C #271C83 #831C78
monochromatic
#101E06 #2A5111 #45831C #60B527 #7ED743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45831C#FFFFFF#000000##FFFFFF
##45831C1.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)
#887804
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#427E70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #45831c;
/* rgb */ color: rgb(69, 131, 28);
/* oklch */ color: oklch(54.8% 0.148 136.0);
Tailwind
colors: {
  custom: {
    50: '#7fa761',
    500: '#45831c',
    950: '#000000',
  },
}
SCSS
$custom: #45831c;
$custom-light: #7fa761;
$custom-dark: #000000;
JSON
{
  "hex": "#45831c",
  "rgb": {
    "r": 69,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 96.117,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54752,
    "c": 0.1476,
    "h": 136
  },
  "luminance": 0.17582
}

Semantic roles & 50–950 ramp

primary
#45831C
secondary
#8945B6
accent
#40E8A5
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #45831C

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

Preview Lab → · Contrast checker → · Palette generator →

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