#456818#456818

#456818 is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.4% C 0.114 H 130.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#456818
RGBrgb(69, 104, 24)
HSLhsl(86, 63%, 25%)
HSVhsv(86, 77%, 41%)
CMYKcmyk(33.7%, 0%, 76.9%, 59.2%)
CIE-LABlab(39.97, -26.12, 38.66)
CIE-LCHlch(39.97, 46.66, 124.05°)
OKLaboklab(47.37% -0.0741 0.0866)
OKLCHoklch(47.37% 0.114 130.5)
XYZxyz(7.5694, 11.2315, 2.6331)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456818 #3B1868
analogous
#686318 #456818 #1D6818
triadic
#456818 #184568 #681845
tetradic
#456818 #186863 #3B1868 #68181D
square
#456818 #186863 #3B1868 #68181D
split-complementary
#456818 #181D68 #631868
monochromatic
#101906 #24360D #456818 #669A23 #87CB2F

Accessibility & contrast

On white

6.47
#456818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#456818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456818
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456818#FFFFFF#000000##FFFFFF
##4568181.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6009
Deuteranopia (green-blind)
#685D20
Tritanopia (blue-blind)
#476359
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #456818;
/* rgb */ color: rgb(69, 104, 24);
/* oklch */ color: oklch(47.4% 0.114 130.5);
Tailwind
colors: {
  custom: {
    50: '#7c935b',
    500: '#456818',
    950: '#000000',
  },
}
SCSS
$custom: #456818;
$custom-light: #7c935b;
$custom-dark: #000000;
JSON
{
  "hex": "#456818",
  "rgb": {
    "r": 69,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 86.25,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47367,
    "c": 0.114,
    "h": 130.5
  },
  "luminance": 0.11232
}

Semantic roles & 50–950 ramp

primary
#456818
secondary
#683E9E
accent
#42E68A
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #456818

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

Preview Lab → · Contrast checker → · Palette generator →

#456818 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva