#427C12#427C12

#427C12 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.6% C 0.145 H 135.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#427C12
RGBrgb(66, 124, 18)
HSLhsl(93, 75%, 28%)
HSVhsv(93, 85%, 49%)
CMYKcmyk(46.8%, 0%, 85.5%, 51.4%)
CIE-LABlab(46.47, -36.70, 46.75)
CIE-LCHlch(46.47, 59.43, 128.13°)
OKLaboklab(52.63% -0.1028 0.1027)
OKLCHoklch(52.63% 0.145 135)
XYZxyz(9.5634, 15.6166, 3.0825)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427C12 #4C127C
analogous
#777C12 #427C12 #127C17
triadic
#427C12 #12427C #7C1242
tetradic
#427C12 #12777C #4C127C #7C1712
square
#427C12 #12777C #4C127C #7C1712
split-complementary
#427C12 #17127C #7C1277
monochromatic
#0E1B04 #26470A #427C12 #5EB11A #7CE029

Accessibility & contrast

On white

5.09
#427C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#427C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427C12
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427C12#FFFFFF#000000##FFFFFF
##427C121.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#407769
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #427c12;
/* rgb */ color: rgb(66, 124, 18);
/* oklch */ color: oklch(52.6% 0.145 135.0);
Tailwind
colors: {
  custom: {
    50: '#7da25b',
    500: '#427c12',
    950: '#000000',
  },
}
SCSS
$custom: #427c12;
$custom-light: #7da25b;
$custom-dark: #000000;
JSON
{
  "hex": "#427c12",
  "rgb": {
    "r": 66,
    "g": 124,
    "b": 18
  },
  "hsl": {
    "h": 92.83,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52631,
    "c": 0.14533,
    "h": 135
  },
  "luminance": 0.15617
}

Semantic roles & 50–950 ramp

primary
#427C12
secondary
#7B38B2
accent
#37F19D
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #427C12

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

Preview Lab → · Contrast checker → · Palette generator →

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