#427B15#427B15

#427B15 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.4% C 0.143 H 135.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#427B15
RGBrgb(66, 123, 21)
HSLhsl(94, 71%, 28%)
HSVhsv(94, 83%, 48%)
CMYKcmyk(46.3%, 0%, 82.9%, 51.8%)
CIE-LABlab(46.15, -36.12, 45.57)
CIE-LCHlch(46.15, 58.15, 128.40°)
OKLaboklab(52.37% -0.1011 0.1007)
OKLCHoklch(52.37% 0.143 135.1)
XYZxyz(9.4649, 15.3777, 3.1788)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427B15 #4E157B
analogous
#757B15 #427B15 #157B1B
triadic
#427B15 #15427B #7B1542
tetradic
#427B15 #15757B #4E157B #7B1B15
square
#427B15 #15757B #4E157B #7B1B15
split-complementary
#427B15 #1B157B #7B1575
monochromatic
#0E1A04 #26470C #427B15 #5EAF1E #7BDB2F

Accessibility & contrast

On white

5.15
#427B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#427B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427B15
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427B15#FFFFFF#000000##FFFFFF
##427B151.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#786C21
Tritanopia (blue-blind)
#407668
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #427b15;
/* rgb */ color: rgb(66, 123, 21);
/* oklch */ color: oklch(52.4% 0.143 135.1);
Tailwind
colors: {
  custom: {
    50: '#7ca25c',
    500: '#427b15',
    950: '#000000',
  },
}
SCSS
$custom: #427b15;
$custom-light: #7ca25c;
$custom-dark: #000000;
JSON
{
  "hex": "#427b15",
  "rgb": {
    "r": 66,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 93.529,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52373,
    "c": 0.14269,
    "h": 135.1
  },
  "luminance": 0.15378
}

Semantic roles & 50–950 ramp

primary
#427B15
secondary
#7D3BB0
accent
#3AEE9E
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #427B15

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

Preview Lab → · Contrast checker → · Palette generator →

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