#456226#456226

#456226 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.9% C 0.094 H 130.9°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#456226
RGBrgb(69, 98, 38)
HSLhsl(89, 44%, 27%)
HSVhsv(89, 61%, 38%)
CMYKcmyk(29.6%, 0%, 61.2%, 61.6%)
CIE-LABlab(38.09, -21.88, 30.20)
CIE-LCHlch(38.09, 37.30, 125.92°)
OKLaboklab(45.88% -0.0612 0.0707)
OKLCHoklch(45.88% 0.094 130.9)
XYZxyz(7.1717, 10.1403, 3.4128)
Luminance0.1014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456226 #432662
analogous
#626126 #456226 #276226
triadic
#456226 #264562 #622645
tetradic
#456226 #266261 #432662 #622627
square
#456226 #266261 #432662 #622627
split-complementary
#456226 #262762 #612662
monochromatic
#101609 #263615 #456226 #648E37 #83B94A

Accessibility & contrast

On white

6.93
#456226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#456226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456226
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456226#FFFFFF#000000##FFFFFF
##4562261.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665B20
Deuteranopia (green-blind)
#62592A
Tritanopia (blue-blind)
#465E55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #456226;
/* rgb */ color: rgb(69, 98, 38);
/* oklch */ color: oklch(45.9% 0.094 130.9);
Tailwind
colors: {
  custom: {
    50: '#7b8f63',
    500: '#456226',
    950: '#000000',
  },
}
SCSS
$custom: #456226;
$custom-light: #7b8f63;
$custom-dark: #000000;
JSON
{
  "hex": "#456226",
  "rgb": {
    "r": 69,
    "g": 98,
    "b": 38
  },
  "hsl": {
    "h": 89,
    "s": 44.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.45884,
    "c": 0.09353,
    "h": 130.9
  },
  "luminance": 0.10141
}

Semantic roles & 50–950 ramp

primary
#456226
secondary
#714F95
accent
#54D492
background
#F7F8F5
surface
#EEF0EA
border
#C9CBC6
text
#090C05
muted
#7B7D79

Preview Lab

Preview with #456226

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

Preview Lab → · Contrast checker → · Palette generator →

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