#426312#426312

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

Color values

HEX#426312
RGBrgb(66, 99, 18)
HSLhsl(84, 69%, 23%)
HSVhsv(84, 82%, 39%)
CMYKcmyk(33.3%, 0%, 81.8%, 61.2%)
CIE-LABlab(38.07, -25.30, 39.02)
CIE-LCHlch(38.07, 46.50, 122.96°)
OKLaboklab(45.76% -0.0722 0.0864)
OKLCHoklch(45.76% 0.113 129.9)
XYZxyz(6.8178, 10.1254, 2.1673)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#426312 #331263
analogous
#635B12 #426312 #1A6312
triadic
#426312 #124263 #631242
tetradic
#426312 #12635B #331263 #63121A
square
#426312 #12635B #331263 #63121A
split-complementary
#426312 #121A63 #5B1263
monochromatic
#111A05 #1F2F09 #426312 #65971B #87CB25

Accessibility & contrast

On white

6.94
#426312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #426312
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##426312#FFFFFF#000000##FFFFFF
##4263121.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #426312;
/* rgb */ color: rgb(66, 99, 18);
/* oklch */ color: oklch(45.8% 0.113 129.9);
Tailwind
colors: {
  custom: {
    50: '#7a8f57',
    500: '#426312',
    950: '#000000',
  },
}
SCSS
$custom: #426312;
$custom-light: #7a8f57;
$custom-dark: #000000;
JSON
{
  "hex": "#426312",
  "rgb": {
    "r": 66,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 84.444,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45757,
    "c": 0.11257,
    "h": 129.9
  },
  "luminance": 0.10126
}

Semantic roles & 50–950 ramp

primary
#426312
secondary
#5F369B
accent
#3CEC84
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #426312

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

Preview Lab → · Contrast checker → · Palette generator →

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