#456B17#456B17

#456B17 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.2% C 0.119 H 131.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#456B17
RGBrgb(69, 107, 23)
HSLhsl(87, 65%, 25%)
HSVhsv(87, 79%, 42%)
CMYKcmyk(35.5%, 0%, 78.5%, 58%)
CIE-LABlab(40.96, -27.64, 40.02)
CIE-LCHlch(40.96, 48.64, 124.63°)
OKLaboklab(48.18% -0.0783 0.0893)
OKLCHoklch(48.18% 0.119 131.2)
XYZxyz(7.8665, 11.8422, 2.6817)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456B17 #3D176B
analogous
#6B6717 #456B17 #1B6B17
triadic
#456B17 #17456B #6B1745
tetradic
#456B17 #176B67 #3D176B #6B171B
square
#456B17 #176B67 #3D176B #6B171B
split-complementary
#456B17 #171B6B #67176B
monochromatic
#101905 #25390C #456B17 #659D22 #86D02D

Accessibility & contrast

On white

6.23
#456B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#456B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456B17
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456B17#FFFFFF#000000##FFFFFF
##456B171.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706206
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#46665B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #456b17;
/* rgb */ color: rgb(69, 107, 23);
/* oklch */ color: oklch(48.2% 0.119 131.2);
Tailwind
colors: {
  custom: {
    50: '#7c955b',
    500: '#456b17',
    950: '#000000',
  },
}
SCSS
$custom: #456b17;
$custom-light: #7c955b;
$custom-dark: #000000;
JSON
{
  "hex": "#456b17",
  "rgb": {
    "r": 69,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 87.143,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48177,
    "c": 0.11877,
    "h": 131.2
  },
  "luminance": 0.11842
}

Semantic roles & 50–950 ramp

primary
#456B17
secondary
#6A3DA1
accent
#40E88C
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #456B17

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

Preview Lab → · Contrast checker → · Palette generator →

#456B17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva