#456D17#456D17

#456D17 is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.7% C 0.121 H 131.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#456D17
RGBrgb(69, 109, 23)
HSLhsl(88, 65%, 26%)
HSVhsv(88, 79%, 43%)
CMYKcmyk(36.7%, 0%, 78.9%, 57.3%)
CIE-LABlab(41.63, -28.59, 40.67)
CIE-LCHlch(41.63, 49.72, 125.10°)
OKLaboklab(48.72% -0.0809 0.0907)
OKLCHoklch(48.72% 0.122 131.7)
XYZxyz(8.0775, 12.2640, 2.7520)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456D17 #3F176D
analogous
#6D6A17 #456D17 #1A6D17
triadic
#456D17 #17456D #6D1745
tetradic
#456D17 #176D6A #3F176D #6D171A
square
#456D17 #176D6A #3F176D #6D171A
split-complementary
#456D17 #171A6D #6A176D
monochromatic
#101905 #253A0C #456D17 #65A022 #85D22C

Accessibility & contrast

On white

6.08
#456D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#456D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456D17
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456D17#FFFFFF#000000##FFFFFF
##456D171.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726405
Deuteranopia (green-blind)
#6D6120
Tritanopia (blue-blind)
#46685D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #456d17;
/* rgb */ color: rgb(69, 109, 23);
/* oklch */ color: oklch(48.7% 0.121 131.7);
Tailwind
colors: {
  custom: {
    50: '#7d975b',
    500: '#456d17',
    950: '#000000',
  },
}
SCSS
$custom: #456d17;
$custom-light: #7d975b;
$custom-dark: #000000;
JSON
{
  "hex": "#456d17",
  "rgb": {
    "r": 69,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 87.907,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48722,
    "c": 0.1215,
    "h": 131.7
  },
  "luminance": 0.12264
}

Semantic roles & 50–950 ramp

primary
#456D17
secondary
#6C3DA3
accent
#40E88E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #456D17

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

Preview Lab → · Contrast checker → · Palette generator →

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