#456B18#456B18

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

Color values

HEX#456B18
RGBrgb(69, 107, 24)
HSLhsl(87, 63%, 26%)
HSVhsv(87, 78%, 42%)
CMYKcmyk(35.5%, 0%, 77.6%, 58%)
CIE-LABlab(40.97, -27.57, 39.65)
CIE-LCHlch(40.97, 48.29, 124.82°)
OKLaboklab(48.18% -0.078 0.0887)
OKLCHoklch(48.18% 0.118 131.3)
XYZxyz(7.8767, 11.8463, 2.7355)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456B18 #3E186B
analogous
#6B6718 #456B18 #1B6B18
triadic
#456B18 #18456B #6B1845
tetradic
#456B18 #186B67 #3E186B #6B181B
square
#456B18 #186B67 #3E186B #6B181B
split-complementary
#456B18 #181B6B #67186B
monochromatic
#101906 #25390D #456B18 #659D23 #85CF2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##456B18#FFFFFF#000000##FFFFFF
##456B181.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)
#706208
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#46665B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #456b18;
/* rgb */ color: rgb(69, 107, 24);
/* oklch */ color: oklch(48.2% 0.118 131.3);
Tailwind
colors: {
  custom: {
    50: '#7c955b',
    500: '#456b18',
    950: '#000000',
  },
}
SCSS
$custom: #456b18;
$custom-light: #7c955b;
$custom-dark: #000000;
JSON
{
  "hex": "#456b18",
  "rgb": {
    "r": 69,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 87.47,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48184,
    "c": 0.11814,
    "h": 131.3
  },
  "luminance": 0.11847
}

Semantic roles & 50–950 ramp

primary
#456B18
secondary
#6B3EA1
accent
#41E68D
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #456B18

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

Preview Lab → · Contrast checker → · Palette generator →

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