#45841E#45841E

#45841E is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.0% C 0.148 H 136.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#45841E
RGBrgb(69, 132, 30)
HSLhsl(97, 63%, 32%)
HSVhsv(97, 77%, 52%)
CMYKcmyk(47.7%, 0%, 77.3%, 48.2%)
CIE-LABlab(49.33, -38.37, 45.60)
CIE-LCHlch(49.33, 59.59, 130.07°)
OKLaboklab(55.04% -0.1068 0.1021)
OKLCHoklch(55.04% 0.148 136.3)
XYZxyz(10.9396, 17.8608, 4.0991)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45841E #5D1E84
analogous
#78841E #45841E #1E842A
triadic
#45841E #1E4584 #841E45
tetradic
#45841E #1E7884 #5D1E84 #842A1E
square
#45841E #1E7884 #5D1E84 #842A1E
split-complementary
#45841E #2A1E84 #841E78
monochromatic
#112007 #2B5213 #45841E #5FB629 #7DD547

Accessibility & contrast

On white

4.59
#45841E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#45841E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #45841E
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45841E#FFFFFF#000000##FFFFFF
##45841E1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897908
Deuteranopia (green-blind)
#807329
Tritanopia (blue-blind)
#427F71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #45841e;
/* rgb */ color: rgb(69, 132, 30);
/* oklch */ color: oklch(55.0% 0.148 136.3);
Tailwind
colors: {
  custom: {
    50: '#7fa862',
    500: '#45841e',
    950: '#000000',
  },
}
SCSS
$custom: #45841e;
$custom-light: #7fa862;
$custom-dark: #000000;
JSON
{
  "hex": "#45841e",
  "rgb": {
    "r": 69,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 97.059,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55037,
    "c": 0.14773,
    "h": 136.3
  },
  "luminance": 0.17861
}

Semantic roles & 50–950 ramp

primary
#45841E
secondary
#8C47B7
accent
#42E6A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #45841E

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

Preview Lab → · Contrast checker → · Palette generator →

#45841E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva