#427C1B#427C1B

#427C1B is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.7% C 0.141 H 135.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#427C1B
RGBrgb(66, 124, 27)
HSLhsl(96, 64%, 30%)
HSVhsv(96, 78%, 49%)
CMYKcmyk(46.8%, 0%, 78.2%, 51.4%)
CIE-LABlab(46.51, -36.19, 43.90)
CIE-LCHlch(46.51, 56.89, 129.50°)
OKLaboklab(52.69% -0.1009 0.0981)
OKLCHoklch(52.69% 0.141 135.8)
XYZxyz(9.6520, 15.6521, 3.5493)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427C1B #551B7C
analogous
#737C1B #427C1B #1B7C24
triadic
#427C1B #1B427C #7C1B42
tetradic
#427C1B #1B737C #551B7C #7C241B
square
#427C1B #1B737C #551B7C #7C241B
split-complementary
#427C1B #241B7C #7C1B73
monochromatic
#0D1905 #274A10 #427C1B #5DAE26 #7AD53D

Accessibility & contrast

On white

5.08
#427C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#427C1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427C1B
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427C1B#FFFFFF#000000##FFFFFF
##427C1B1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817105
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#40776A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #427c1b;
/* rgb */ color: rgb(66, 124, 27);
/* oklch */ color: oklch(52.7% 0.141 135.8);
Tailwind
colors: {
  custom: {
    50: '#7ca25f',
    500: '#427c1b',
    950: '#000000',
  },
}
SCSS
$custom: #427c1b;
$custom-light: #7ca25f;
$custom-dark: #000000;
JSON
{
  "hex": "#427c1b",
  "rgb": {
    "r": 66,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 95.876,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52685,
    "c": 0.14074,
    "h": 135.8
  },
  "luminance": 0.15653
}

Semantic roles & 50–950 ramp

primary
#427C1B
secondary
#8443B0
accent
#41E7A4
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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