#426812#426812

#426812 is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.1% C 0.119 H 131.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#426812
RGBrgb(66, 104, 18)
HSLhsl(87, 70%, 24%)
HSVhsv(87, 83%, 41%)
CMYKcmyk(36.5%, 0%, 82.7%, 59.2%)
CIE-LABlab(39.75, -27.72, 40.60)
CIE-LCHlch(39.75, 49.16, 124.32°)
OKLaboklab(47.13% -0.0787 0.0897)
OKLCHoklch(47.13% 0.119 131.2)
XYZxyz(7.3062, 11.1023, 2.3301)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#426812 #381268
analogous
#686312 #426812 #176812
triadic
#426812 #124268 #681242
tetradic
#426812 #126863 #381268 #681217
square
#426812 #126863 #381268 #681217
split-complementary
#426812 #121768 #631268
monochromatic
#111A05 #213409 #426812 #639C1B #84D024

Accessibility & contrast

On white

6.52
#426812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#426812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #426812
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##426812#FFFFFF#000000##FFFFFF
##4268121.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#685D1B
Tritanopia (blue-blind)
#436358
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #426812;
/* rgb */ color: rgb(66, 104, 18);
/* oklch */ color: oklch(47.1% 0.119 131.2);
Tailwind
colors: {
  custom: {
    50: '#7a9358',
    500: '#426812',
    950: '#000000',
  },
}
SCSS
$custom: #426812;
$custom-light: #7a9358;
$custom-dark: #000000;
JSON
{
  "hex": "#426812",
  "rgb": {
    "r": 66,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 86.512,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.47132,
    "c": 0.11935,
    "h": 131.2
  },
  "luminance": 0.11103
}

Semantic roles & 50–950 ramp

primary
#426812
secondary
#6536A0
accent
#3BED8A
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #426812

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

Preview Lab → · Contrast checker → · Palette generator →

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