#426B17#426B17

#426B17 is a mid, vivid yellow-green. Relative luminance 0.117; OKLCH L 48.0% C 0.120 H 132.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#426B17
RGBrgb(66, 107, 23)
HSLhsl(89, 65%, 25%)
HSVhsv(89, 79%, 42%)
CMYKcmyk(38.3%, 0%, 78.5%, 58%)
CIE-LABlab(40.79, -28.83, 39.80)
CIE-LCHlch(40.79, 49.14, 125.92°)
OKLaboklab(47.99% -0.0813 0.0889)
OKLCHoklch(47.99% 0.12 132.5)
XYZxyz(7.6590, 11.7352, 2.6720)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#426B17 #40176B
analogous
#6B6A17 #426B17 #186B17
triadic
#426B17 #17426B #6B1742
tetradic
#426B17 #176B6A #40176B #6B1718
square
#426B17 #176B6A #40176B #6B1718
split-complementary
#426B17 #17186B #6A176B
monochromatic
#101905 #23390C #426B17 #619D22 #80D02D

Accessibility & contrast

On white

6.27
#426B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#426B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #426B17
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##426B17#FFFFFF#000000##FFFFFF
##426B171.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706206
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#43665B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #426b17;
/* rgb */ color: rgb(66, 107, 23);
/* oklch */ color: oklch(48.0% 0.120 132.5);
Tailwind
colors: {
  custom: {
    50: '#7a955b',
    500: '#426b17',
    950: '#000000',
  },
}
SCSS
$custom: #426b17;
$custom-light: #7a955b;
$custom-dark: #000000;
JSON
{
  "hex": "#426b17",
  "rgb": {
    "r": 66,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 89.286,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.4799,
    "c": 0.12048,
    "h": 132.5
  },
  "luminance": 0.11736
}

Semantic roles & 50–950 ramp

primary
#426B17
secondary
#6E3DA1
accent
#40E892
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #426B17

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

Preview Lab → · Contrast checker → · Palette generator →

#426B17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva