#427E23#427E23

#427E23 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.3% C 0.138 H 137.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#427E23
RGBrgb(66, 126, 35)
HSLhsl(100, 57%, 32%)
HSVhsv(100, 72%, 49%)
CMYKcmyk(47.6%, 0%, 72.2%, 50.6%)
CIE-LABlab(47.24, -36.45, 41.51)
CIE-LCHlch(47.24, 55.24, 131.28°)
OKLaboklab(53.3% -0.101 0.0943)
OKLCHoklch(53.3% 0.138 137)
XYZxyz(10.0107, 16.2007, 4.1893)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427E23 #5F237E
analogous
#707E23 #427E23 #237E31
triadic
#427E23 #23427E #7E2342
tetradic
#427E23 #23707E #5F237E #7E3123
square
#427E23 #23707E #5F237E #7E3123
split-complementary
#427E23 #31237E #7E2370
monochromatic
#101E08 #294E16 #427E23 #5BAE30 #79CE4E

Accessibility & contrast

On white

4.95
#427E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#427E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427E23
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427E23#FFFFFF#000000##FFFFFF
##427E231.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827315
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#3F796C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #427e23;
/* rgb */ color: rgb(66, 126, 35);
/* oklch */ color: oklch(53.3% 0.138 137.0);
Tailwind
colors: {
  custom: {
    50: '#7ca464',
    500: '#427e23',
    950: '#000000',
  },
}
SCSS
$custom: #427e23;
$custom-light: #7ca464;
$custom-dark: #000000;
JSON
{
  "hex": "#427e23",
  "rgb": {
    "r": 66,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 99.56,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53295,
    "c": 0.13821,
    "h": 137
  },
  "luminance": 0.16201
}

Semantic roles & 50–950 ramp

primary
#427E23
secondary
#8E4CB0
accent
#48E0AC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #427E23

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

Preview Lab → · Contrast checker → · Palette generator →

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