#456816#456816

#456816 is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.4% C 0.115 H 130.3°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#456816
RGBrgb(69, 104, 22)
HSLhsl(86, 65%, 25%)
HSVhsv(86, 79%, 41%)
CMYKcmyk(33.7%, 0%, 78.8%, 59.2%)
CIE-LABlab(39.95, -26.25, 39.42)
CIE-LCHlch(39.95, 47.36, 123.66°)
OKLaboklab(47.35% -0.0746 0.0879)
OKLCHoklch(47.35% 0.115 130.3)
XYZxyz(7.5493, 11.2235, 2.5275)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456816 #391668
analogous
#686216 #456816 #1C6816
triadic
#456816 #164568 #681645
tetradic
#456816 #166862 #391668 #68161C
square
#456816 #166862 #391668 #68161C
split-complementary
#456816 #161C68 #621668
monochromatic
#111905 #23350B #456816 #679B21 #88CD2B

Accessibility & contrast

On white

6.47
#456816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#456816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456816
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456816#FFFFFF#000000##FFFFFF
##4568161.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6005
Deuteranopia (green-blind)
#685D1E
Tritanopia (blue-blind)
#476358
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #456816;
/* rgb */ color: rgb(69, 104, 22);
/* oklch */ color: oklch(47.4% 0.115 130.3);
Tailwind
colors: {
  custom: {
    50: '#7c935a',
    500: '#456816',
    950: '#000000',
  },
}
SCSS
$custom: #456816;
$custom-light: #7c935a;
$custom-dark: #000000;
JSON
{
  "hex": "#456816",
  "rgb": {
    "r": 69,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 85.61,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47352,
    "c": 0.11529,
    "h": 130.3
  },
  "luminance": 0.11224
}

Semantic roles & 50–950 ramp

primary
#456816
secondary
#663B9F
accent
#40E888
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #456816

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

Preview Lab → · Contrast checker → · Palette generator →

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