#42801D#42801D

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

Color values

HEX#42801D
RGBrgb(66, 128, 29)
HSLhsl(98, 63%, 31%)
HSVhsv(98, 77%, 50%)
CMYKcmyk(48.4%, 0%, 77.3%, 49.8%)
CIE-LABlab(47.86, -37.75, 44.48)
CIE-LCHlch(47.86, 58.34, 130.32°)
OKLaboklab(53.79% -0.105 0.0997)
OKLCHoklch(53.79% 0.145 136.5)
XYZxyz(10.1874, 16.6846, 3.8458)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42801D #5B1D80
analogous
#73801D #42801D #1D802A
triadic
#42801D #1D4280 #801D42
tetradic
#42801D #1D7380 #5B1D80 #802A1D
square
#42801D #1D7380 #5B1D80 #802A1D
split-complementary
#42801D #2A1D80 #801D73
monochromatic
#0F1C06 #284E12 #42801D #5CB228 #79D443

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42801D#FFFFFF#000000##FFFFFF
##42801D1.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)
#857508
Deuteranopia (green-blind)
#7C7027
Tritanopia (blue-blind)
#3F7B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #42801d;
/* rgb */ color: rgb(66, 128, 29);
/* oklch */ color: oklch(53.8% 0.145 136.5);
Tailwind
colors: {
  custom: {
    50: '#7da561',
    500: '#42801d',
    950: '#000000',
  },
}
SCSS
$custom: #42801d;
$custom-light: #7da561;
$custom-dark: #000000;
JSON
{
  "hex": "#42801d",
  "rgb": {
    "r": 66,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 97.576,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53794,
    "c": 0.14475,
    "h": 136.5
  },
  "luminance": 0.16685
}

Semantic roles & 50–950 ramp

primary
#42801D
secondary
#8A45B3
accent
#42E6A9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #42801D

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

Preview Lab → · Contrast checker → · Palette generator →

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