#45821D#45821D

#45821D is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.5% C 0.146 H 135.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#45821D
RGBrgb(69, 130, 29)
HSLhsl(96, 64%, 31%)
HSVhsv(96, 78%, 51%)
CMYKcmyk(46.9%, 0%, 77.7%, 49%)
CIE-LABlab(48.66, -37.59, 45.31)
CIE-LCHlch(48.66, 58.87, 129.68°)
OKLaboklab(54.49% -0.1047 0.1013)
OKLCHoklch(54.49% 0.146 135.9)
XYZxyz(10.6584, 17.3185, 3.9433)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45821D #5A1D82
analogous
#77821D #45821D #1D8228
triadic
#45821D #1D4582 #821D45
tetradic
#45821D #1D7782 #5A1D82 #82281D
square
#45821D #1D7782 #5A1D82 #82281D
split-complementary
#45821D #281D82 #821D77
monochromatic
#101E07 #2A5012 #45821D #60B428 #7ED544

Accessibility & contrast

On white

4.70
#45821D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#45821D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45821D
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45821D#FFFFFF#000000##FFFFFF
##45821D1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877706
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#437D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #45821d;
/* rgb */ color: rgb(69, 130, 29);
/* oklch */ color: oklch(54.5% 0.146 135.9);
Tailwind
colors: {
  custom: {
    50: '#7fa761',
    500: '#45821d',
    950: '#000000',
  },
}
SCSS
$custom: #45821d;
$custom-light: #7fa761;
$custom-dark: #000000;
JSON
{
  "hex": "#45821d",
  "rgb": {
    "r": 69,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 96.238,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54487,
    "c": 0.14575,
    "h": 135.9
  },
  "luminance": 0.17319
}

Semantic roles & 50–950 ramp

primary
#45821D
secondary
#8946B5
accent
#41E7A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #45821D

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

Preview Lab → · Contrast checker → · Palette generator →

#45821D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva