#456221#456221

#456221 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.8% C 0.098 H 129.9°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#456221
RGBrgb(69, 98, 33)
HSLhsl(87, 50%, 26%)
HSVhsv(87, 66%, 38%)
CMYKcmyk(29.6%, 0%, 66.3%, 61.6%)
CIE-LABlab(38.04, -22.39, 32.66)
CIE-LCHlch(38.04, 39.59, 124.43°)
OKLaboklab(45.82% -0.0631 0.0754)
OKLCHoklch(45.82% 0.098 129.9)
XYZxyz(7.0964, 10.1102, 3.0161)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456221 #3E2162
analogous
#625E21 #456221 #256221
triadic
#456221 #214562 #622145
tetradic
#456221 #21625E #3E2162 #622125
square
#456221 #21625E #3E2162 #622125
split-complementary
#456221 #212562 #5E2162
monochromatic
#101708 #253412 #456221 #659030 #85BE40

Accessibility & contrast

On white

6.95
#456221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#456221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456221
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456221#FFFFFF#000000##FFFFFF
##4562211.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B19
Deuteranopia (green-blind)
#635926
Tritanopia (blue-blind)
#475E54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #456221;
/* rgb */ color: rgb(69, 98, 33);
/* oklch */ color: oklch(45.8% 0.098 129.9);
Tailwind
colors: {
  custom: {
    50: '#7b8f5f',
    500: '#456221',
    950: '#000000',
  },
}
SCSS
$custom: #456221;
$custom-light: #7b8f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#456221",
  "rgb": {
    "r": 69,
    "g": 98,
    "b": 33
  },
  "hsl": {
    "h": 86.769,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45823,
    "c": 0.09828,
    "h": 129.9
  },
  "luminance": 0.1011
}

Semantic roles & 50–950 ramp

primary
#456221
secondary
#6B4996
accent
#4FD98C
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C05
muted
#7B7D79

Preview Lab

Preview with #456221

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

Preview Lab → · Contrast checker → · Palette generator →

#456221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva