#456017#456017

#456017 is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.2% C 0.103 H 127.8°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#456017
RGBrgb(69, 96, 23)
HSLhsl(82, 61%, 23%)
HSVhsv(82, 76%, 38%)
CMYKcmyk(28.1%, 0%, 76%, 62.4%)
CIE-LABlab(37.29, -22.19, 36.40)
CIE-LCHlch(37.29, 42.63, 121.37°)
OKLaboklab(45.18% -0.0635 0.0817)
OKLCHoklch(45.18% 0.103 127.8)
XYZxyz(6.7918, 9.6927, 2.3235)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#456017 #321760
analogous
#605617 #456017 #206017
triadic
#456017 #174560 #601745
tetradic
#456017 #176056 #321760 #601720
square
#456017 #176056 #321760 #601720
split-complementary
#456017 #172060 #561760
monochromatic
#121906 #222F0B #456017 #689123 #8CC32F

Accessibility & contrast

On white

7.15
#456017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#456017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #456017
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##456017#FFFFFF#000000##FFFFFF
##4560171.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590A
Deuteranopia (green-blind)
#61571D
Tritanopia (blue-blind)
#485B52
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #456017;
/* rgb */ color: rgb(69, 96, 23);
/* oklch */ color: oklch(45.2% 0.103 127.8);
Tailwind
colors: {
  custom: {
    50: '#7b8d59',
    500: '#456017',
    950: '#000000',
  },
}
SCSS
$custom: #456017;
$custom-light: #7b8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#456017",
  "rgb": {
    "r": 69,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 82.192,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45183,
    "c": 0.10348,
    "h": 127.8
  },
  "luminance": 0.09693
}

Semantic roles & 50–950 ramp

primary
#456017
secondary
#5E3C97
accent
#43E47F
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #456017

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

Preview Lab → · Contrast checker → · Palette generator →

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