#45841C#45841C

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

Color values

HEX#45841C
RGBrgb(69, 132, 28)
HSLhsl(96, 65%, 31%)
HSVhsv(96, 79%, 52%)
CMYKcmyk(47.7%, 0%, 78.8%, 48.2%)
CIE-LABlab(49.31, -38.50, 46.30)
CIE-LCHlch(49.31, 60.21, 129.74°)
OKLaboklab(55.02% -0.1073 0.1033)
OKLCHoklch(55.02% 0.149 136.1)
XYZxyz(10.9148, 17.8509, 3.9688)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45841C #5B1C84
analogous
#79841C #45841C #1C8427
triadic
#45841C #1C4584 #841C45
tetradic
#45841C #1C7984 #5B1C84 #84271C
square
#45841C #1C7984 #5B1C84 #84271C
split-complementary
#45841C #271C84 #841C79
monochromatic
#101F07 #2B5211 #45841C #5FB627 #7ED743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45841C#FFFFFF#000000##FFFFFF
##45841C1.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)
#897803
Deuteranopia (green-blind)
#817327
Tritanopia (blue-blind)
#427F70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #45841c;
/* rgb */ color: rgb(69, 132, 28);
/* oklch */ color: oklch(55.0% 0.149 136.1);
Tailwind
colors: {
  custom: {
    50: '#7fa861',
    500: '#45841c',
    950: '#000000',
  },
}
SCSS
$custom: #45841c;
$custom-light: #7fa861;
$custom-dark: #000000;
JSON
{
  "hex": "#45841c",
  "rgb": {
    "r": 69,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 96.346,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55024,
    "c": 0.14888,
    "h": 136.1
  },
  "luminance": 0.17852
}

Semantic roles & 50–950 ramp

primary
#45841C
secondary
#8A45B7
accent
#40E8A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #45841C

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

Preview Lab → · Contrast checker → · Palette generator →

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