#426217#426217

#426217 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.5% C 0.108 H 130.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#426217
RGBrgb(66, 98, 23)
HSLhsl(86, 62%, 24%)
HSVhsv(86, 77%, 38%)
CMYKcmyk(32.7%, 0%, 76.5%, 61.6%)
CIE-LABlab(37.76, -24.48, 36.81)
CIE-LCHlch(37.76, 44.21, 123.63°)
OKLaboklab(45.52% -0.0695 0.0827)
OKLCHoklch(45.52% 0.108 130.1)
XYZxyz(6.7691, 9.9553, 2.3754)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#426217 #371762
analogous
#625C17 #426217 #1C6217
triadic
#426217 #174262 #621742
tetradic
#426217 #17625C #371762 #62171C
square
#426217 #17625C #371762 #62171C
split-complementary
#426217 #171C62 #5C1762
monochromatic
#111906 #21300B #426217 #639423 #85C52E

Accessibility & contrast

On white

7.02
#426217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#426217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #426217
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##426217#FFFFFF#000000##FFFFFF
##4262171.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A0A
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#445D53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #426217;
/* rgb */ color: rgb(66, 98, 23);
/* oklch */ color: oklch(45.5% 0.108 130.1);
Tailwind
colors: {
  custom: {
    50: '#798f5a',
    500: '#426217',
    950: '#000000',
  },
}
SCSS
$custom: #426217;
$custom-light: #798f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#426217",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 85.6,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4552,
    "c": 0.108,
    "h": 130.1
  },
  "luminance": 0.09955
}

Semantic roles & 50–950 ramp

primary
#426217
secondary
#643C99
accent
#43E588
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #426217

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

Preview Lab → · Contrast checker → · Palette generator →

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