#427718#427718

#427718 is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.3% C 0.136 H 134.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#427718
RGBrgb(66, 119, 24)
HSLhsl(93, 66%, 28%)
HSVhsv(93, 80%, 47%)
CMYKcmyk(44.5%, 0%, 79.8%, 53.3%)
CIE-LABlab(44.83, -34.21, 43.33)
CIE-LCHlch(44.83, 55.21, 128.29°)
OKLaboklab(51.29% -0.0958 0.0965)
OKLCHoklch(51.29% 0.136 134.8)
XYZxyz(9.0083, 14.4173, 3.1721)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427718 #4D1877
analogous
#717718 #427718 #18771D
triadic
#427718 #184277 #771842
tetradic
#427718 #187177 #4D1877 #771D18
square
#427718 #187177 #4D1877 #771D18
split-complementary
#427718 #1D1877 #771871
monochromatic
#0E1905 #26440E #427718 #5EAA22 #7BD633

Accessibility & contrast

On white

5.41
#427718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#427718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427718
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427718#FFFFFF#000000##FFFFFF
##4277181.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D02
Deuteranopia (green-blind)
#756822
Tritanopia (blue-blind)
#417265
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #427718;
/* rgb */ color: rgb(66, 119, 24);
/* oklch */ color: oklch(51.3% 0.136 134.8);
Tailwind
colors: {
  custom: {
    50: '#7c9f5d',
    500: '#427718',
    950: '#000000',
  },
}
SCSS
$custom: #427718;
$custom-light: #7c9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#427718",
  "rgb": {
    "r": 66,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 93.474,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51293,
    "c": 0.13594,
    "h": 134.8
  },
  "luminance": 0.14418
}

Semantic roles & 50–950 ramp

primary
#427718
secondary
#7C3FAC
accent
#3EE99E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #427718

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

Preview Lab → · Contrast checker → · Palette generator →

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