#456216#456216

#456216 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.7% C 0.107 H 128.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#456216
RGBrgb(69, 98, 22)
HSLhsl(83, 63%, 24%)
HSVhsv(83, 78%, 38%)
CMYKcmyk(29.6%, 0%, 77.6%, 61.6%)
CIE-LABlab(37.95, -23.28, 37.46)
CIE-LCHlch(37.95, 44.10, 121.86°)
OKLaboklab(45.72% -0.0665 0.0838)
OKLCHoklch(45.72% 0.107 128.5)
XYZxyz(6.9667, 10.0583, 2.3333)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456216 #331662
analogous
#625916 #456216 #1F6216
triadic
#456216 #164562 #621645
tetradic
#456216 #166259 #331662 #62161F
square
#456216 #166259 #331662 #62161F
split-complementary
#456216 #161F62 #591662
monochromatic
#121906 #22300B #456216 #689421 #8BC62C

Accessibility & contrast

On white

6.97
#456216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#456216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456216
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456216#FFFFFF#000000##FFFFFF
##4562161.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B08
Deuteranopia (green-blind)
#63591D
Tritanopia (blue-blind)
#485D53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #456216;
/* rgb */ color: rgb(69, 98, 22);
/* oklch */ color: oklch(45.7% 0.107 128.5);
Tailwind
colors: {
  custom: {
    50: '#7c8f59',
    500: '#456216',
    950: '#000000',
  },
}
SCSS
$custom: #456216;
$custom-light: #7c8f59;
$custom-dark: #000000;
JSON
{
  "hex": "#456216",
  "rgb": {
    "r": 69,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 82.895,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45718,
    "c": 0.10698,
    "h": 128.5
  },
  "luminance": 0.10059
}

Semantic roles & 50–950 ramp

primary
#456216
secondary
#5F3B99
accent
#41E680
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #456216

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

Preview Lab → · Contrast checker → · Palette generator →

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