#45841A#45841A

#45841A is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.0% C 0.150 H 135.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#45841A
RGBrgb(69, 132, 26)
HSLhsl(96, 67%, 31%)
HSVhsv(96, 80%, 52%)
CMYKcmyk(47.7%, 0%, 80.3%, 48.2%)
CIE-LABlab(49.30, -38.62, 46.97)
CIE-LCHlch(49.30, 60.81, 129.43°)
OKLaboklab(55.01% -0.1077 0.1043)
OKLCHoklch(55.01% 0.15 135.9)
XYZxyz(10.8917, 17.8416, 3.8469)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45841A #591A84
analogous
#7A841A #45841A #1A8424
triadic
#45841A #1A4584 #841A45
tetradic
#45841A #1A7A84 #591A84 #84241A
square
#45841A #1A7A84 #591A84 #84241A
split-complementary
#45841A #241A84 #841A7A
monochromatic
#101E06 #2A5110 #45841A #60B724 #7ED93F

Accessibility & contrast

On white

4.60
#45841A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #45841A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45841A#FFFFFF#000000##FFFFFF
##45841A1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#817326
Tritanopia (blue-blind)
#427F70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #45841a;
/* rgb */ color: rgb(69, 132, 26);
/* oklch */ color: oklch(55.0% 0.150 135.9);
Tailwind
colors: {
  custom: {
    50: '#7fa860',
    500: '#45841a',
    950: '#000000',
  },
}
SCSS
$custom: #45841a;
$custom-light: #7fa860;
$custom-dark: #000000;
JSON
{
  "hex": "#45841a",
  "rgb": {
    "r": 69,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 95.66,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55011,
    "c": 0.14996,
    "h": 135.9
  },
  "luminance": 0.17842
}

Semantic roles & 50–950 ramp

primary
#45841A
secondary
#8842B8
accent
#3EEAA4
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #45841A

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

Preview Lab → · Contrast checker → · Palette generator →

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