#45831F#45831F

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

Color values

HEX#45831F
RGBrgb(69, 131, 31)
HSLhsl(97, 62%, 32%)
HSVhsv(97, 76%, 51%)
CMYKcmyk(47.3%, 0%, 76.3%, 48.6%)
CIE-LABlab(49.00, -37.88, 44.92)
CIE-LCHlch(49.00, 58.75, 130.14°)
OKLaboklab(54.77% -0.1054 0.1008)
OKLCHoklch(54.77% 0.146 136.3)
XYZxyz(10.8176, 17.5961, 4.1224)
Luminance0.1760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45831F #5D1F83
analogous
#77831F #45831F #1F832B
triadic
#45831F #1F4583 #831F45
tetradic
#45831F #1F7783 #5D1F83 #832B1F
square
#45831F #1F7783 #5D1F83 #832B1F
split-complementary
#45831F #2B1F83 #831F77
monochromatic
#112008 #2B5213 #45831F #5FB42B #7DD449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45831F#FFFFFF#000000##FFFFFF
##45831F1.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)
#88780B
Deuteranopia (green-blind)
#807329
Tritanopia (blue-blind)
#427E70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #45831f;
/* rgb */ color: rgb(69, 131, 31);
/* oklch */ color: oklch(54.8% 0.146 136.3);
Tailwind
colors: {
  custom: {
    50: '#7fa762',
    500: '#45831f',
    950: '#000000',
  },
}
SCSS
$custom: #45831f;
$custom-light: #7fa762;
$custom-dark: #000000;
JSON
{
  "hex": "#45831f",
  "rgb": {
    "r": 69,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 97.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54773,
    "c": 0.14584,
    "h": 136.3
  },
  "luminance": 0.17597
}

Semantic roles & 50–950 ramp

primary
#45831F
secondary
#8C48B6
accent
#43E5A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #45831F

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

Preview Lab → · Contrast checker → · Palette generator →

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