#456D18#456D18

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

Color values

HEX#456D18
RGBrgb(69, 109, 24)
HSLhsl(88, 64%, 26%)
HSVhsv(88, 78%, 43%)
CMYKcmyk(36.7%, 0%, 78%, 57.3%)
CIE-LABlab(41.64, -28.52, 40.30)
CIE-LCHlch(41.64, 49.38, 125.29°)
OKLaboklab(48.73% -0.0806 0.0901)
OKLCHoklch(48.73% 0.121 131.8)
XYZxyz(8.0877, 12.2681, 2.8058)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456D18 #40186D
analogous
#6D6A18 #456D18 #1A6D18
triadic
#456D18 #18456D #6D1845
tetradic
#456D18 #186D6A #40186D #6D181A
square
#456D18 #186D6A #40186D #6D181A
split-complementary
#456D18 #181A6D #6A186D
monochromatic
#101906 #253B0D #456D18 #659F23 #84D12E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##456D18#FFFFFF#000000##FFFFFF
##456D181.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)
#726407
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#46685D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #456d18;
/* rgb */ color: rgb(69, 109, 24);
/* oklch */ color: oklch(48.7% 0.121 131.8);
Tailwind
colors: {
  custom: {
    50: '#7c975c',
    500: '#456d18',
    950: '#000000',
  },
}
SCSS
$custom: #456d18;
$custom-light: #7c975c;
$custom-dark: #000000;
JSON
{
  "hex": "#456d18",
  "rgb": {
    "r": 69,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 88.235,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48729,
    "c": 0.12088,
    "h": 131.8
  },
  "luminance": 0.12268
}

Semantic roles & 50–950 ramp

primary
#456D18
secondary
#6D3EA3
accent
#41E78F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #456D18

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

Preview Lab → · Contrast checker → · Palette generator →

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