#42801E#42801E

#42801E is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.8% C 0.144 H 136.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#42801E
RGBrgb(66, 128, 30)
HSLhsl(98, 62%, 31%)
HSVhsv(98, 77%, 50%)
CMYKcmyk(48.4%, 0%, 76.6%, 49.8%)
CIE-LABlab(47.87, -37.68, 44.12)
CIE-LCHlch(47.87, 58.02, 130.50°)
OKLaboklab(53.8% -0.1047 0.0991)
OKLCHoklch(53.8% 0.144 136.6)
XYZxyz(10.2000, 16.6897, 3.9120)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42801E #5C1E80
analogous
#73801E #42801E #1E802B
triadic
#42801E #1E4280 #801E42
tetradic
#42801E #1E7380 #5C1E80 #802B1E
square
#42801E #1E7380 #5C1E80 #802B1E
split-complementary
#42801E #2B1E80 #801E73
monochromatic
#0F1D07 #284E12 #42801E #5CB22A #79D345

Accessibility & contrast

On white

4.84
#42801E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#42801E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42801E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42801E#FFFFFF#000000##FFFFFF
##42801E1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750A
Deuteranopia (green-blind)
#7C7028
Tritanopia (blue-blind)
#3F7B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #42801e;
/* rgb */ color: rgb(66, 128, 30);
/* oklch */ color: oklch(53.8% 0.144 136.6);
Tailwind
colors: {
  custom: {
    50: '#7da561',
    500: '#42801e',
    950: '#000000',
  },
}
SCSS
$custom: #42801e;
$custom-light: #7da561;
$custom-dark: #000000;
JSON
{
  "hex": "#42801e",
  "rgb": {
    "r": 66,
    "g": 128,
    "b": 30
  },
  "hsl": {
    "h": 97.959,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53801,
    "c": 0.14414,
    "h": 136.6
  },
  "luminance": 0.1669
}

Semantic roles & 50–950 ramp

primary
#42801E
secondary
#8B47B3
accent
#43E5A9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #42801E

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

Preview Lab → · Contrast checker → · Palette generator →

#42801E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva