#427D23#427D23

#427D23 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.0% C 0.137 H 136.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#427D23
RGBrgb(66, 125, 35)
HSLhsl(99, 56%, 31%)
HSVhsv(99, 72%, 49%)
CMYKcmyk(47.2%, 0%, 72%, 51%)
CIE-LABlab(46.90, -36.01, 41.16)
CIE-LCHlch(46.90, 54.70, 131.18°)
OKLaboklab(53.02% -0.0998 0.0936)
OKLCHoklch(53.02% 0.137 136.8)
XYZxyz(9.8835, 15.9462, 4.1469)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427D23 #5E237D
analogous
#6F7D23 #427D23 #237D31
triadic
#427D23 #23427D #7D2342
tetradic
#427D23 #236F7D #5E237D #7D3123
square
#427D23 #236F7D #5E237D #7D3123
split-complementary
#427D23 #31237D #7D236F
monochromatic
#101D08 #294D16 #427D23 #5BAD30 #79CD4D

Accessibility & contrast

On white

5.01
#427D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#427D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427D23
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427D23#FFFFFF#000000##FFFFFF
##427D231.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817215
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#3F786B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #427d23;
/* rgb */ color: rgb(66, 125, 35);
/* oklch */ color: oklch(53.0% 0.137 136.8);
Tailwind
colors: {
  custom: {
    50: '#7ca363',
    500: '#427d23',
    950: '#000000',
  },
}
SCSS
$custom: #427d23;
$custom-light: #7ca363;
$custom-dark: #000000;
JSON
{
  "hex": "#427d23",
  "rgb": {
    "r": 66,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 99.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53022,
    "c": 0.13687,
    "h": 136.8
  },
  "luminance": 0.15947
}

Semantic roles & 50–950 ramp

primary
#427D23
secondary
#8D4CAF
accent
#48E0AB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #427D23

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

Preview Lab → · Contrast checker → · Palette generator →

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