#456C17#456C17

#456C17 is a mid, vivid yellow-green. Relative luminance 0.121; OKLCH L 48.4% C 0.120 H 131.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#456C17
RGBrgb(69, 108, 23)
HSLhsl(88, 65%, 26%)
HSVhsv(88, 79%, 42%)
CMYKcmyk(36.1%, 0%, 78.7%, 57.6%)
CIE-LABlab(41.30, -28.12, 40.35)
CIE-LCHlch(41.30, 49.18, 124.87°)
OKLaboklab(48.45% -0.0796 0.09)
OKLCHoklch(48.45% 0.12 131.5)
XYZxyz(7.9714, 12.0519, 2.7167)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456C17 #3E176C
analogous
#6C6817 #456C17 #1B6C17
triadic
#456C17 #17456C #6C1745
tetradic
#456C17 #176C68 #3E176C #6C171B
square
#456C17 #176C68 #3E176C #6C171B
split-complementary
#456C17 #171B6C #68176C
monochromatic
#101905 #253A0C #456C17 #659E22 #85D12C

Accessibility & contrast

On white

6.16
#456C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#456C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456C17
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456C17#FFFFFF#000000##FFFFFF
##456C171.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716305
Deuteranopia (green-blind)
#6C601F
Tritanopia (blue-blind)
#46675C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #456c17;
/* rgb */ color: rgb(69, 108, 23);
/* oklch */ color: oklch(48.4% 0.120 131.5);
Tailwind
colors: {
  custom: {
    50: '#7c965b',
    500: '#456c17',
    950: '#000000',
  },
}
SCSS
$custom: #456c17;
$custom-light: #7c965b;
$custom-dark: #000000;
JSON
{
  "hex": "#456c17",
  "rgb": {
    "r": 69,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 87.529,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48449,
    "c": 0.12014,
    "h": 131.5
  },
  "luminance": 0.12052
}

Semantic roles & 50–950 ramp

primary
#456C17
secondary
#6B3DA2
accent
#40E88D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #456C17

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

Preview Lab → · Contrast checker → · Palette generator →

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