#42801B#42801B

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

Color values

HEX#42801B
RGBrgb(66, 128, 27)
HSLhsl(97, 65%, 30%)
HSVhsv(97, 79%, 50%)
CMYKcmyk(48.4%, 0%, 78.9%, 49.8%)
CIE-LABlab(47.85, -37.88, 45.19)
CIE-LCHlch(47.85, 58.97, 129.98°)
OKLaboklab(53.78% -0.1055 0.1008)
OKLCHoklch(53.78% 0.146 136.3)
XYZxyz(10.1635, 16.6751, 3.7198)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42801B #591B80
analogous
#74801B #42801B #1B8027
triadic
#42801B #1B4280 #801B42
tetradic
#42801B #1B7480 #591B80 #80271B
square
#42801B #1B7480 #591B80 #80271B
split-complementary
#42801B #271B80 #801B74
monochromatic
#0E1B06 #284D10 #42801B #5CB326 #79D63F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42801B#FFFFFF#000000##FFFFFF
##42801B1.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)
#857503
Deuteranopia (green-blind)
#7C7026
Tritanopia (blue-blind)
#3F7B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #42801b;
/* rgb */ color: rgb(66, 128, 27);
/* oklch */ color: oklch(53.8% 0.146 136.3);
Tailwind
colors: {
  custom: {
    50: '#7da560',
    500: '#42801b',
    950: '#000000',
  },
}
SCSS
$custom: #42801b;
$custom-light: #7da560;
$custom-dark: #000000;
JSON
{
  "hex": "#42801b",
  "rgb": {
    "r": 66,
    "g": 128,
    "b": 27
  },
  "hsl": {
    "h": 96.832,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5378,
    "c": 0.14591,
    "h": 136.3
  },
  "luminance": 0.16676
}

Semantic roles & 50–950 ramp

primary
#42801B
secondary
#8843B4
accent
#40E8A7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #42801B

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

Preview Lab → · Contrast checker → · Palette generator →

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