#45841F#45841F

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

Color values

HEX#45841F
RGBrgb(69, 132, 31)
HSLhsl(97, 62%, 32%)
HSVhsv(97, 77%, 52%)
CMYKcmyk(47.7%, 0%, 76.5%, 48.2%)
CIE-LABlab(49.33, -38.30, 45.24)
CIE-LCHlch(49.33, 59.28, 130.25°)
OKLaboklab(55.05% -0.1065 0.1015)
OKLCHoklch(55.05% 0.147 136.4)
XYZxyz(10.9525, 17.8660, 4.1674)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45841F #5E1F84
analogous
#78841F #45841F #1F842C
triadic
#45841F #1F4584 #841F45
tetradic
#45841F #1F7884 #5E1F84 #842C1F
square
#45841F #1F7884 #5E1F84 #842C1F
split-complementary
#45841F #2C1F84 #841F78
monochromatic
#112108 #2B5213 #45841F #5FB62B #7DD449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45841F#FFFFFF#000000##FFFFFF
##45841F1.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)
#89790A
Deuteranopia (green-blind)
#807329
Tritanopia (blue-blind)
#427F71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #45841f;
/* rgb */ color: rgb(69, 132, 31);
/* oklch */ color: oklch(55.0% 0.147 136.4);
Tailwind
colors: {
  custom: {
    50: '#7fa862',
    500: '#45841f',
    950: '#000000',
  },
}
SCSS
$custom: #45841f;
$custom-light: #7fa862;
$custom-dark: #000000;
JSON
{
  "hex": "#45841f",
  "rgb": {
    "r": 69,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 97.426,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55045,
    "c": 0.14714,
    "h": 136.4
  },
  "luminance": 0.17867
}

Semantic roles & 50–950 ramp

primary
#45841F
secondary
#8D48B7
accent
#43E5A8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #45841F

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

Preview Lab → · Contrast checker → · Palette generator →

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