#427818#427818

#427818 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.6% C 0.137 H 135.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#427818
RGBrgb(66, 120, 24)
HSLhsl(94, 67%, 28%)
HSVhsv(94, 80%, 47%)
CMYKcmyk(45%, 0%, 80%, 52.9%)
CIE-LABlab(45.16, -34.65, 43.65)
CIE-LCHlch(45.16, 55.73, 128.44°)
OKLaboklab(51.57% -0.097 0.0971)
OKLCHoklch(51.57% 0.137 135)
XYZxyz(9.1279, 14.6566, 3.2120)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427818 #4E1878
analogous
#727818 #427818 #18781E
triadic
#427818 #184278 #781842
tetradic
#427818 #187278 #4E1878 #781E18
square
#427818 #187278 #4E1878 #781E18
split-complementary
#427818 #1E1878 #781872
monochromatic
#0E1A05 #26450E #427818 #5EAB22 #7BD634

Accessibility & contrast

On white

5.34
#427818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#427818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427818
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427818#FFFFFF#000000##FFFFFF
##4278181.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#766922
Tritanopia (blue-blind)
#417366
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #427818;
/* rgb */ color: rgb(66, 120, 24);
/* oklch */ color: oklch(51.6% 0.137 135.0);
Tailwind
colors: {
  custom: {
    50: '#7c9f5d',
    500: '#427818',
    950: '#000000',
  },
}
SCSS
$custom: #427818;
$custom-light: #7c9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#427818",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 93.75,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51568,
    "c": 0.13725,
    "h": 135
  },
  "luminance": 0.14657
}

Semantic roles & 50–950 ramp

primary
#427818
secondary
#7D3FAD
accent
#3EEA9F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #427818

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

Preview Lab → · Contrast checker → · Palette generator →

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