#426512#426512

#426512 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.3% C 0.115 H 130.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#426512
RGBrgb(66, 101, 18)
HSLhsl(85, 70%, 23%)
HSVhsv(85, 82%, 40%)
CMYKcmyk(34.7%, 0%, 82.2%, 60.4%)
CIE-LABlab(38.74, -26.27, 39.65)
CIE-LCHlch(38.74, 47.56, 123.53°)
OKLaboklab(46.31% -0.0748 0.0878)
OKLCHoklch(46.31% 0.115 130.4)
XYZxyz(7.0096, 10.5090, 2.2313)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#426512 #351265
analogous
#655E12 #426512 #186512
triadic
#426512 #124265 #651242
tetradic
#426512 #12655E #351265 #651218
square
#426512 #12655E #351265 #651218
split-complementary
#426512 #121865 #5E1265
monochromatic
#111A05 #203109 #426512 #64991B #86CD25

Accessibility & contrast

On white

6.77
#426512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#426512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #426512
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##426512#FFFFFF#000000##FFFFFF
##4265121.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#655A1B
Tritanopia (blue-blind)
#446056
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #426512;
/* rgb */ color: rgb(66, 101, 18);
/* oklch */ color: oklch(46.3% 0.115 130.4);
Tailwind
colors: {
  custom: {
    50: '#7a9158',
    500: '#426512',
    950: '#000000',
  },
}
SCSS
$custom: #426512;
$custom-light: #7a9158;
$custom-dark: #000000;
JSON
{
  "hex": "#426512",
  "rgb": {
    "r": 66,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 85.301,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46307,
    "c": 0.1153,
    "h": 130.4
  },
  "luminance": 0.10509
}

Semantic roles & 50–950 ramp

primary
#426512
secondary
#61369D
accent
#3BED86
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #426512

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

Preview Lab → · Contrast checker → · Palette generator →

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