#427E1B#427E1B

#427E1B is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.2% C 0.143 H 136.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#427E1B
RGBrgb(66, 126, 27)
HSLhsl(96, 65%, 30%)
HSVhsv(96, 79%, 49%)
CMYKcmyk(47.6%, 0%, 78.6%, 50.6%)
CIE-LABlab(47.18, -37.04, 44.54)
CIE-LCHlch(47.18, 57.93, 129.75°)
OKLaboklab(53.23% -0.1032 0.0995)
OKLCHoklch(53.23% 0.143 136.1)
XYZxyz(9.9052, 16.1585, 3.6337)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427E1B #571B7E
analogous
#737E1B #427E1B #1B7E26
triadic
#427E1B #1B427E #7E1B42
tetradic
#427E1B #1B737E #571B7E #7E261B
square
#427E1B #1B737E #571B7E #7E261B
split-complementary
#427E1B #261B7E #7E1B73
monochromatic
#0D1905 #284C10 #427E1B #5CB026 #7AD63E

Accessibility & contrast

On white

4.96
#427E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#427E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427E1B
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427E1B#FFFFFF#000000##FFFFFF
##427E1B1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837304
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#3F796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #427e1b;
/* rgb */ color: rgb(66, 126, 27);
/* oklch */ color: oklch(53.2% 0.143 136.1);
Tailwind
colors: {
  custom: {
    50: '#7ca45f',
    500: '#427e1b',
    950: '#000000',
  },
}
SCSS
$custom: #427e1b;
$custom-light: #7ca45f;
$custom-dark: #000000;
JSON
{
  "hex": "#427e1b",
  "rgb": {
    "r": 66,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 96.364,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.53233,
    "c": 0.14333,
    "h": 136.1
  },
  "luminance": 0.16159
}

Semantic roles & 50–950 ramp

primary
#427E1B
secondary
#8643B2
accent
#40E8A6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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