#426017#426017

#426017 is a dark, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.0% C 0.105 H 129.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#426017
RGBrgb(66, 96, 23)
HSLhsl(85, 61%, 23%)
HSVhsv(85, 76%, 38%)
CMYKcmyk(31.3%, 0%, 76%, 62.4%)
CIE-LABlab(37.09, -23.48, 36.13)
CIE-LCHlch(37.09, 43.09, 123.01°)
OKLaboklab(44.97% -0.0668 0.0812)
OKLCHoklch(44.97% 0.105 129.4)
XYZxyz(6.5843, 9.5857, 2.3138)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#426017 #351760
analogous
#605917 #426017 #1D6017
triadic
#426017 #174260 #601742
tetradic
#426017 #176059 #351760 #60171D
square
#426017 #176059 #351760 #60171D
split-complementary
#426017 #171D60 #591760
monochromatic
#111906 #202F0B #426017 #649123 #86C32F

Accessibility & contrast

On white

7.20
#426017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#426017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #426017
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##426017#FFFFFF#000000##FFFFFF
##4260171.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590A
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#445C52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #426017;
/* rgb */ color: rgb(66, 96, 23);
/* oklch */ color: oklch(45.0% 0.105 129.4);
Tailwind
colors: {
  custom: {
    50: '#798d59',
    500: '#426017',
    950: '#000000',
  },
}
SCSS
$custom: #426017;
$custom-light: #798d59;
$custom-dark: #000000;
JSON
{
  "hex": "#426017",
  "rgb": {
    "r": 66,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 84.658,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44971,
    "c": 0.10516,
    "h": 129.4
  },
  "luminance": 0.09586
}

Semantic roles & 50–950 ramp

primary
#426017
secondary
#613C97
accent
#43E486
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #426017

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

Preview Lab → · Contrast checker → · Palette generator →

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