#427F1B#427F1B

#427F1B is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.5% C 0.145 H 136.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#427F1B
RGBrgb(66, 127, 27)
HSLhsl(97, 65%, 30%)
HSVhsv(97, 79%, 50%)
CMYKcmyk(48%, 0%, 78.7%, 50.2%)
CIE-LABlab(47.52, -37.46, 44.87)
CIE-LCHlch(47.52, 58.45, 129.86°)
OKLaboklab(53.51% -0.1043 0.1002)
OKLCHoklch(53.51% 0.145 136.2)
XYZxyz(10.0337, 16.4155, 3.6765)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427F1B #581B7F
analogous
#747F1B #427F1B #1B7F26
triadic
#427F1B #1B427F #7F1B42
tetradic
#427F1B #1B747F #581B7F #7F261B
square
#427F1B #1B747F #581B7F #7F261B
split-complementary
#427F1B #261B7F #7F1B74
monochromatic
#0E1A06 #284D10 #427F1B #5CB126 #7AD63E

Accessibility & contrast

On white

4.90
#427F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#427F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427F1B
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427F1B#FFFFFF#000000##FFFFFF
##427F1B1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847404
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#3F7A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #427f1b;
/* rgb */ color: rgb(66, 127, 27);
/* oklch */ color: oklch(53.5% 0.145 136.2);
Tailwind
colors: {
  custom: {
    50: '#7da560',
    500: '#427f1b',
    950: '#000000',
  },
}
SCSS
$custom: #427f1b;
$custom-light: #7da560;
$custom-dark: #000000;
JSON
{
  "hex": "#427f1b",
  "rgb": {
    "r": 66,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 96.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53506,
    "c": 0.14463,
    "h": 136.2
  },
  "luminance": 0.16416
}

Semantic roles & 50–950 ramp

primary
#427F1B
secondary
#8743B3
accent
#40E8A6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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