#427112#427112

#427112 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.6% C 0.131 H 133.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#427112
RGBrgb(66, 113, 18)
HSLhsl(90, 73%, 26%)
HSVhsv(90, 84%, 44%)
CMYKcmyk(41.6%, 0%, 84.1%, 55.7%)
CIE-LABlab(42.78, -31.89, 43.40)
CIE-LCHlch(42.78, 53.85, 126.31°)
OKLaboklab(49.61% -0.0899 0.0956)
OKLCHoklch(49.61% 0.131 133.2)
XYZxyz(8.2610, 13.0118, 2.6484)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427112 #411271
analogous
#717012 #427112 #137112
triadic
#427112 #124271 #711242
tetradic
#427112 #127170 #411271 #711213
square
#427112 #127170 #411271 #711213
split-complementary
#427112 #121371 #701271
monochromatic
#0F1A04 #233C0A #427112 #61A61A #80DB23

Accessibility & contrast

On white

5.83
#427112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#427112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427112
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427112#FFFFFF#000000##FFFFFF
##4271121.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#426C60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #427112;
/* rgb */ color: rgb(66, 113, 18);
/* oklch */ color: oklch(49.6% 0.131 133.2);
Tailwind
colors: {
  custom: {
    50: '#7b9a5a',
    500: '#427112',
    950: '#000000',
  },
}
SCSS
$custom: #427112;
$custom-light: #7b9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#427112",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 89.684,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49608,
    "c": 0.13127,
    "h": 133.2
  },
  "luminance": 0.13012
}

Semantic roles & 50–950 ramp

primary
#427112
secondary
#6F37A8
accent
#39EF93
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #427112

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

Preview Lab → · Contrast checker → · Palette generator →

#427112 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva