#426317#426317

#426317 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.8% C 0.109 H 130.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#426317
RGBrgb(66, 99, 23)
HSLhsl(86, 62%, 24%)
HSVhsv(86, 77%, 39%)
CMYKcmyk(33.3%, 0%, 76.8%, 61.2%)
CIE-LABlab(38.10, -24.98, 37.15)
CIE-LCHlch(38.10, 44.76, 123.92°)
OKLaboklab(45.79% -0.0709 0.0833)
OKLCHoklch(45.79% 0.109 130.4)
XYZxyz(6.8632, 10.1436, 2.4067)
Luminance0.1014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#426317 #381763
analogous
#635E17 #426317 #1C6317
triadic
#426317 #174263 #631742
tetradic
#426317 #17635E #381763 #63171C
square
#426317 #17635E #381763 #63171C
split-complementary
#426317 #171C63 #5E1763
monochromatic
#111906 #21310B #426317 #639523 #84C62E

Accessibility & contrast

On white

6.93
#426317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#426317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #426317
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##426317#FFFFFF#000000##FFFFFF
##4263171.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B09
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#445E54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #426317;
/* rgb */ color: rgb(66, 99, 23);
/* oklch */ color: oklch(45.8% 0.109 130.4);
Tailwind
colors: {
  custom: {
    50: '#7a8f5a',
    500: '#426317',
    950: '#000000',
  },
}
SCSS
$custom: #426317;
$custom-light: #7a8f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#426317",
  "rgb": {
    "r": 66,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 86.053,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45794,
    "c": 0.10941,
    "h": 130.4
  },
  "luminance": 0.10144
}

Semantic roles & 50–950 ramp

primary
#426317
secondary
#653C9A
accent
#42E589
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #426317

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

Preview Lab → · Contrast checker → · Palette generator →

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