#427B23#427B23

#427B23 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.5% C 0.134 H 136.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#427B23
RGBrgb(66, 123, 35)
HSLhsl(99, 56%, 31%)
HSVhsv(99, 72%, 48%)
CMYKcmyk(46.3%, 0%, 71.5%, 51.8%)
CIE-LABlab(46.24, -35.15, 40.47)
CIE-LCHlch(46.24, 53.60, 130.97°)
OKLaboklab(52.48% -0.0975 0.0922)
OKLCHoklch(52.48% 0.134 136.6)
XYZxyz(9.6328, 15.4449, 4.0634)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427B23 #5C237B
analogous
#6E7B23 #427B23 #237B30
triadic
#427B23 #23427B #7B2342
tetradic
#427B23 #236E7B #5C237B #7B3023
square
#427B23 #236E7B #5C237B #7B3023
split-complementary
#427B23 #30237B #7B236E
monochromatic
#0F1C08 #284B15 #427B23 #5CAB31 #79CC4C

Accessibility & contrast

On white

5.14
#427B23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#427B23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427B23
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427B23#FFFFFF#000000##FFFFFF
##427B231.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7116
Deuteranopia (green-blind)
#786C2B
Tritanopia (blue-blind)
#3F7669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #427b23;
/* rgb */ color: rgb(66, 123, 35);
/* oklch */ color: oklch(52.5% 0.134 136.6);
Tailwind
colors: {
  custom: {
    50: '#7ca263',
    500: '#427b23',
    950: '#000000',
  },
}
SCSS
$custom: #427b23;
$custom-light: #7ca263;
$custom-dark: #000000;
JSON
{
  "hex": "#427b23",
  "rgb": {
    "r": 66,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 98.864,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52476,
    "c": 0.13416,
    "h": 136.6
  },
  "luminance": 0.15446
}

Semantic roles & 50–950 ramp

primary
#427B23
secondary
#8B4CAE
accent
#49DFAA
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #427B23

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

Preview Lab → · Contrast checker → · Palette generator →

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