#427B1F#427B1F

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

Color values

HEX#427B1F
RGBrgb(66, 123, 31)
HSLhsl(97, 60%, 30%)
HSVhsv(97, 75%, 48%)
CMYKcmyk(46.3%, 0%, 74.8%, 51.8%)
CIE-LABlab(46.21, -35.47, 42.08)
CIE-LCHlch(46.21, 55.03, 130.13°)
OKLaboklab(52.44% -0.0987 0.0949)
OKLCHoklch(52.44% 0.137 136.1)
XYZxyz(9.5768, 15.4225, 3.7683)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427B1F #581F7B
analogous
#707B1F #427B1F #1F7B2A
triadic
#427B1F #1F427B #7B1F42
tetradic
#427B1F #1F707B #581F7B #7B2A1F
square
#427B1F #1F707B #581F7B #7B2A1F
split-complementary
#427B1F #2A1F7B #7B1F70
monochromatic
#0E1906 #284A13 #427B1F #5CAC2B #7AD044

Accessibility & contrast

On white

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

On black

4.08
#427B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##427B1F#FFFFFF#000000##FFFFFF
##427B1F1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700F
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#407669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #427b1f;
/* rgb */ color: rgb(66, 123, 31);
/* oklch */ color: oklch(52.4% 0.137 136.1);
Tailwind
colors: {
  custom: {
    50: '#7ca261',
    500: '#427b1f',
    950: '#000000',
  },
}
SCSS
$custom: #427b1f;
$custom-light: #7ca261;
$custom-dark: #000000;
JSON
{
  "hex": "#427b1f",
  "rgb": {
    "r": 66,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 97.174,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52441,
    "c": 0.13694,
    "h": 136.1
  },
  "luminance": 0.15423
}

Semantic roles & 50–950 ramp

primary
#427B1F
secondary
#8748AE
accent
#45E3A7
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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