#426912#426912

#426912 is a mid, vivid yellow-green. Relative luminance 0.113; OKLCH L 47.4% C 0.121 H 131.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#426912
RGBrgb(66, 105, 18)
HSLhsl(87, 71%, 24%)
HSVhsv(87, 83%, 41%)
CMYKcmyk(37.1%, 0%, 82.9%, 58.8%)
CIE-LABlab(40.09, -28.19, 40.91)
CIE-LCHlch(40.09, 49.68, 124.57°)
OKLaboklab(47.41% -0.08 0.0904)
OKLCHoklch(47.41% 0.121 131.5)
XYZxyz(7.4075, 11.3048, 2.3639)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#426912 #391269
analogous
#696512 #426912 #166912
triadic
#426912 #124269 #691242
tetradic
#426912 #126965 #391269 #691216
square
#426912 #126965 #391269 #691216
split-complementary
#426912 #121669 #651269
monochromatic
#101A04 #213509 #426912 #639D1B #84D124

Accessibility & contrast

On white

6.44
#426912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#426912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #426912
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##426912#FFFFFF#000000##FFFFFF
##4269121.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#695D1B
Tritanopia (blue-blind)
#436459
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #426912;
/* rgb */ color: rgb(66, 105, 18);
/* oklch */ color: oklch(47.4% 0.121 131.5);
Tailwind
colors: {
  custom: {
    50: '#7a9458',
    500: '#426912',
    950: '#000000',
  },
}
SCSS
$custom: #426912;
$custom-light: #7a9458;
$custom-dark: #000000;
JSON
{
  "hex": "#426912",
  "rgb": {
    "r": 66,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 86.897,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47407,
    "c": 0.1207,
    "h": 131.5
  },
  "luminance": 0.11305
}

Semantic roles & 50–950 ramp

primary
#426912
secondary
#6636A1
accent
#3AED8B
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #426912

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

Preview Lab → · Contrast checker → · Palette generator →

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