#456918#456918

#456918 is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.6% C 0.115 H 130.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#456918
RGBrgb(69, 105, 24)
HSLhsl(87, 63%, 25%)
HSVhsv(87, 77%, 41%)
CMYKcmyk(34.3%, 0%, 77.1%, 58.8%)
CIE-LABlab(40.30, -26.61, 38.99)
CIE-LCHlch(40.30, 47.20, 124.31°)
OKLaboklab(47.64% -0.0754 0.0873)
OKLCHoklch(47.64% 0.115 130.8)
XYZxyz(7.6706, 11.4340, 2.6668)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456918 #3C1869
analogous
#696518 #456918 #1C6918
triadic
#456918 #184569 #691845
tetradic
#456918 #186965 #3C1869 #69181C
square
#456918 #186965 #3C1869 #69181C
split-complementary
#456918 #181C69 #651869
monochromatic
#101906 #24370D #456918 #669B23 #86CD2F

Accessibility & contrast

On white

6.39
#456918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#456918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #456918
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456918#FFFFFF#000000##FFFFFF
##4569181.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6109
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#476459
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #456918;
/* rgb */ color: rgb(69, 105, 24);
/* oklch */ color: oklch(47.6% 0.115 130.8);
Tailwind
colors: {
  custom: {
    50: '#7c945b',
    500: '#456918',
    950: '#000000',
  },
}
SCSS
$custom: #456918;
$custom-light: #7c945b;
$custom-dark: #000000;
JSON
{
  "hex": "#456918",
  "rgb": {
    "r": 69,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 86.667,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47639,
    "c": 0.11539,
    "h": 130.8
  },
  "luminance": 0.11434
}

Semantic roles & 50–950 ramp

primary
#456918
secondary
#693E9F
accent
#42E68B
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #456918

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

Preview Lab → · Contrast checker → · Palette generator →

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