#427318#427318

#427318 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.2% C 0.131 H 134.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#427318
RGBrgb(66, 115, 24)
HSLhsl(92, 65%, 27%)
HSVhsv(92, 79%, 45%)
CMYKcmyk(42.6%, 0%, 79.1%, 54.9%)
CIE-LABlab(43.49, -32.44, 42.04)
CIE-LCHlch(43.49, 53.10, 127.65°)
OKLaboklab(50.2% -0.091 0.0938)
OKLCHoklch(50.2% 0.131 134.1)
XYZxyz(8.5422, 13.4852, 3.0168)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427318 #491873
analogous
#707318 #427318 #18731C
triadic
#427318 #184273 #731842
tetradic
#427318 #187073 #491873 #731C18
square
#427318 #187073 #491873 #731C18
split-complementary
#427318 #1C1873 #731870
monochromatic
#0F1905 #25400D #427318 #5FA623 #7CD431

Accessibility & contrast

On white

5.68
#427318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#427318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427318
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427318#FFFFFF#000000##FFFFFF
##4273181.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786904
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#416E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #427318;
/* rgb */ color: rgb(66, 115, 24);
/* oklch */ color: oklch(50.2% 0.131 134.1);
Tailwind
colors: {
  custom: {
    50: '#7b9b5c',
    500: '#427318',
    950: '#000000',
  },
}
SCSS
$custom: #427318;
$custom-light: #7b9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#427318",
  "rgb": {
    "r": 66,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 92.308,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50195,
    "c": 0.13067,
    "h": 134.1
  },
  "luminance": 0.13486
}

Semantic roles & 50–950 ramp

primary
#427318
secondary
#773FA8
accent
#3FE89A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #427318

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

Preview Lab → · Contrast checker → · Palette generator →

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