#426012#426012

#426012 is a dark, moderate yellow-green. Relative luminance 0.096; OKLCH L 44.9% C 0.108 H 128.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#426012
RGBrgb(66, 96, 18)
HSLhsl(83, 68%, 22%)
HSVhsv(83, 81%, 38%)
CMYKcmyk(31.3%, 0%, 81.3%, 62.4%)
CIE-LABlab(37.05, -23.81, 38.06)
CIE-LCHlch(37.05, 44.89, 122.03°)
OKLaboklab(44.93% -0.0681 0.0844)
OKLCHoklch(44.93% 0.108 128.9)
XYZxyz(6.5388, 9.5675, 2.0744)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#426012 #301260
analogous
#605712 #426012 #1B6012
triadic
#426012 #124260 #601242
tetradic
#426012 #126057 #301260 #60121B
square
#426012 #126057 #301260 #60121B
split-complementary
#426012 #121B60 #571260
monochromatic
#121A05 #1F2C08 #426012 #65941C #89C725

Accessibility & contrast

On white

7.21
#426012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#426012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #426012
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##426012#FFFFFF#000000##FFFFFF
##4260121.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655902
Deuteranopia (green-blind)
#61571A
Tritanopia (blue-blind)
#445B51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #426012;
/* rgb */ color: rgb(66, 96, 18);
/* oklch */ color: oklch(44.9% 0.108 128.9);
Tailwind
colors: {
  custom: {
    50: '#7a8d57',
    500: '#426012',
    950: '#000000',
  },
}
SCSS
$custom: #426012;
$custom-light: #7a8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#426012",
  "rgb": {
    "r": 66,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 83.077,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44933,
    "c": 0.10846,
    "h": 128.9
  },
  "luminance": 0.09568
}

Semantic roles & 50–950 ramp

primary
#426012
secondary
#5C3698
accent
#3DEB80
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #426012

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

Preview Lab → · Contrast checker → · Palette generator →

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