#456917#456917

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

Color values

HEX#456917
RGBrgb(69, 105, 23)
HSLhsl(86, 64%, 25%)
HSVhsv(86, 78%, 41%)
CMYKcmyk(34.3%, 0%, 78.1%, 58.8%)
CIE-LABlab(40.30, -26.68, 39.37)
CIE-LCHlch(40.30, 47.56, 124.12°)
OKLaboklab(47.63% -0.0757 0.088)
OKLCHoklch(47.63% 0.116 130.7)
XYZxyz(7.6604, 11.4300, 2.6130)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456917 #3B1769
analogous
#696417 #456917 #1C6917
triadic
#456917 #174569 #691745
tetradic
#456917 #176964 #3B1769 #69171C
square
#456917 #176964 #3B1769 #69171C
split-complementary
#456917 #171C69 #641769
monochromatic
#101905 #24370C #456917 #669B22 #87CD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##456917#FFFFFF#000000##FFFFFF
##4569171.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)
#6E6107
Deuteranopia (green-blind)
#695E1F
Tritanopia (blue-blind)
#476459
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #456917;
/* rgb */ color: rgb(69, 105, 23);
/* oklch */ color: oklch(47.6% 0.116 130.7);
Tailwind
colors: {
  custom: {
    50: '#7c945b',
    500: '#456917',
    950: '#000000',
  },
}
SCSS
$custom: #456917;
$custom-light: #7c945b;
$custom-dark: #000000;
JSON
{
  "hex": "#456917",
  "rgb": {
    "r": 69,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 86.341,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47632,
    "c": 0.11604,
    "h": 130.7
  },
  "luminance": 0.1143
}

Semantic roles & 50–950 ramp

primary
#456917
secondary
#683D9F
accent
#41E78A
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #456917

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

Preview Lab → · Contrast checker → · Palette generator →

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