#426F12#426F12

#426F12 is a mid, vivid yellow-green. Relative luminance 0.126; OKLCH L 49.1% C 0.129 H 132.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#426F12
RGBrgb(66, 111, 18)
HSLhsl(89, 72%, 25%)
HSVhsv(89, 84%, 44%)
CMYKcmyk(40.5%, 0%, 83.8%, 56.5%)
CIE-LABlab(42.11, -30.98, 42.78)
CIE-LCHlch(42.11, 52.82, 125.91°)
OKLaboklab(49.06% -0.0875 0.0943)
OKLCHoklch(49.06% 0.129 132.8)
XYZxyz(8.0403, 12.5704, 2.5748)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#426F12 #3F126F
analogous
#6F6D12 #426F12 #146F12
triadic
#426F12 #12426F #6F1242
tetradic
#426F12 #126F6D #3F126F #6F1214
square
#426F12 #126F6D #3F126F #6F1214
split-complementary
#426F12 #12146F #6D126F
monochromatic
#101A04 #233A09 #426F12 #61A41B #81D823

Accessibility & contrast

On white

5.98
#426F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#426F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #426F12
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##426F12#FFFFFF#000000##FFFFFF
##426F121.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#426A5E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #426f12;
/* rgb */ color: rgb(66, 111, 18);
/* oklch */ color: oklch(49.1% 0.129 132.8);
Tailwind
colors: {
  custom: {
    50: '#7b9859',
    500: '#426f12',
    950: '#000000',
  },
}
SCSS
$custom: #426f12;
$custom-light: #7b9859;
$custom-dark: #000000;
JSON
{
  "hex": "#426f12",
  "rgb": {
    "r": 66,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 89.032,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49058,
    "c": 0.12866,
    "h": 132.8
  },
  "luminance": 0.12571
}

Semantic roles & 50–950 ramp

primary
#426F12
secondary
#6D37A6
accent
#39EF91
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #426F12

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

Preview Lab → · Contrast checker → · Palette generator →

#426F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva