#427D12#427D12

#427D12 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 52.9% C 0.147 H 135.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#427D12
RGBrgb(66, 125, 18)
HSLhsl(93, 75%, 28%)
HSVhsv(93, 86%, 49%)
CMYKcmyk(47.2%, 0%, 85.6%, 51%)
CIE-LABlab(46.80, -37.12, 47.05)
CIE-LCHlch(46.80, 59.93, 128.28°)
OKLaboklab(52.91% -0.104 0.1033)
OKLCHoklch(52.91% 0.147 135.2)
XYZxyz(9.6893, 15.8686, 3.1245)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427D12 #4D127D
analogous
#777D12 #427D12 #127D17
triadic
#427D12 #12427D #7D1242
tetradic
#427D12 #12777D #4D127D #7D1712
square
#427D12 #12777D #4D127D #7D1712
split-complementary
#427D12 #17127D #7D1277
monochromatic
#0E1B04 #26480A #427D12 #5EB21A #7BE029

Accessibility & contrast

On white

5.03
#427D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#427D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427D12
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427D12#FFFFFF#000000##FFFFFF
##427D121.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7A6D1F
Tritanopia (blue-blind)
#40786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #427d12;
/* rgb */ color: rgb(66, 125, 18);
/* oklch */ color: oklch(52.9% 0.147 135.2);
Tailwind
colors: {
  custom: {
    50: '#7da35b',
    500: '#427d12',
    950: '#000000',
  },
}
SCSS
$custom: #427d12;
$custom-light: #7da35b;
$custom-dark: #000000;
JSON
{
  "hex": "#427d12",
  "rgb": {
    "r": 66,
    "g": 125,
    "b": 18
  },
  "hsl": {
    "h": 93.084,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52906,
    "c": 0.14658,
    "h": 135.2
  },
  "luminance": 0.15869
}

Semantic roles & 50–950 ramp

primary
#427D12
secondary
#7C38B3
accent
#36F19E
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #427D12

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

Preview Lab → · Contrast checker → · Palette generator →

#427D12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva