#42801A#42801A

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

Color values

HEX#42801A
RGBrgb(66, 128, 26)
HSLhsl(96, 66%, 30%)
HSVhsv(96, 80%, 50%)
CMYKcmyk(48.4%, 0%, 79.7%, 49.8%)
CIE-LABlab(47.84, -37.95, 45.53)
CIE-LCHlch(47.84, 59.27, 129.81°)
OKLaboklab(53.77% -0.1057 0.1014)
OKLCHoklch(53.77% 0.146 136.2)
XYZxyz(10.1521, 16.6705, 3.6599)
Luminance0.1667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42801A #581A80
analogous
#75801A #42801A #1A8025
triadic
#42801A #1A4280 #801A42
tetradic
#42801A #1A7580 #581A80 #80251A
square
#42801A #1A7580 #581A80 #80251A
split-complementary
#42801A #251A80 #801A75
monochromatic
#0E1A05 #284D10 #42801A #5CB324 #7AD83D

Accessibility & contrast

On white

4.85
#42801A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#42801A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42801A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42801A#FFFFFF#000000##FFFFFF
##42801A1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857501
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#3F7B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #42801a;
/* rgb */ color: rgb(66, 128, 26);
/* oklch */ color: oklch(53.8% 0.146 136.2);
Tailwind
colors: {
  custom: {
    50: '#7da55f',
    500: '#42801a',
    950: '#000000',
  },
}
SCSS
$custom: #42801a;
$custom-light: #7da55f;
$custom-dark: #000000;
JSON
{
  "hex": "#42801a",
  "rgb": {
    "r": 66,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 96.471,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53773,
    "c": 0.14647,
    "h": 136.2
  },
  "luminance": 0.16671
}

Semantic roles & 50–950 ramp

primary
#42801A
secondary
#8742B4
accent
#3FE9A6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #42801A

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

Preview Lab → · Contrast checker → · Palette generator →

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