#427E1F#427E1F

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

Color values

HEX#427E1F
RGBrgb(66, 126, 31)
HSLhsl(98, 61%, 31%)
HSVhsv(98, 75%, 49%)
CMYKcmyk(47.6%, 0%, 75.4%, 50.6%)
CIE-LABlab(47.21, -36.76, 43.08)
CIE-LCHlch(47.21, 56.64, 130.47°)
OKLaboklab(53.26% -0.1022 0.097)
OKLCHoklch(53.26% 0.141 136.5)
XYZxyz(9.9547, 16.1783, 3.8942)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427E1F #5B1F7E
analogous
#717E1F #427E1F #1F7E2B
triadic
#427E1F #1F427E #7E1F42
tetradic
#427E1F #1F717E #5B1F7E #7E2B1F
square
#427E1F #1F717E #5B1F7E #7E2B1F
split-complementary
#427E1F #2B1F7E #7E1F71
monochromatic
#0F1C07 #284D13 #427E1F #5CAF2B #79D146

Accessibility & contrast

On white

4.96
#427E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #427E1F
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427E1F#FFFFFF#000000##FFFFFF
##427E1F1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730D
Deuteranopia (green-blind)
#7B6E28
Tritanopia (blue-blind)
#3F796C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #427e1f;
/* rgb */ color: rgb(66, 126, 31);
/* oklch */ color: oklch(53.3% 0.141 136.5);
Tailwind
colors: {
  custom: {
    50: '#7ca461',
    500: '#427e1f',
    950: '#000000',
  },
}
SCSS
$custom: #427e1f;
$custom-light: #7ca461;
$custom-dark: #000000;
JSON
{
  "hex": "#427e1f",
  "rgb": {
    "r": 66,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 97.895,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53262,
    "c": 0.1409,
    "h": 136.5
  },
  "luminance": 0.16179
}

Semantic roles & 50–950 ramp

primary
#427E1F
secondary
#8A48B1
accent
#44E4A9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #427E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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