#456F17#456F17

#456F17 is a mid, vivid yellow-green. Relative luminance 0.127; OKLCH L 49.3% C 0.124 H 132.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#456F17
RGBrgb(69, 111, 23)
HSLhsl(89, 66%, 26%)
HSVhsv(89, 79%, 44%)
CMYKcmyk(37.8%, 0%, 79.3%, 56.5%)
CIE-LABlab(42.30, -29.53, 41.32)
CIE-LCHlch(42.30, 50.79, 125.55°)
OKLaboklab(49.27% -0.0834 0.092)
OKLCHoklch(49.27% 0.124 132.2)
XYZxyz(8.2932, 12.6956, 2.8240)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456F17 #41176F
analogous
#6F6D17 #456F17 #196F17
triadic
#456F17 #17456F #6F1745
tetradic
#456F17 #176F6D #41176F #6F1719
square
#456F17 #176F6D #41176F #6F1719
split-complementary
#456F17 #17196F #6D176F
monochromatic
#101905 #253C0C #456F17 #65A222 #84D32D

Accessibility & contrast

On white

5.93
#456F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#456F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456F17
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456F17#FFFFFF#000000##FFFFFF
##456F171.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746604
Deuteranopia (green-blind)
#6E6320
Tritanopia (blue-blind)
#466A5E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #456f17;
/* rgb */ color: rgb(69, 111, 23);
/* oklch */ color: oklch(49.3% 0.124 132.2);
Tailwind
colors: {
  custom: {
    50: '#7d985b',
    500: '#456f17',
    950: '#000000',
  },
}
SCSS
$custom: #456f17;
$custom-light: #7d985b;
$custom-dark: #000000;
JSON
{
  "hex": "#456f17",
  "rgb": {
    "r": 69,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 88.636,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49268,
    "c": 0.1242,
    "h": 132.2
  },
  "luminance": 0.12696
}

Semantic roles & 50–950 ramp

primary
#456F17
secondary
#6F3DA5
accent
#3FE990
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #456F17

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

Preview Lab → · Contrast checker → · Palette generator →

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