#42901A#42901A

#42901A is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.1% C 0.166 H 137.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#42901A
RGBrgb(66, 144, 26)
HSLhsl(100, 69%, 33%)
HSVhsv(100, 82%, 56%)
CMYKcmyk(54.2%, 0%, 81.9%, 43.5%)
CIE-LABlab(53.14, -44.40, 50.52)
CIE-LCHlch(53.14, 67.26, 131.31°)
OKLaboklab(58.14% -0.123 0.1118)
OKLCHoklch(58.14% 0.166 137.7)
XYZxyz(12.4061, 21.1784, 4.4112)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42901A #681A90
analogous
#7D901A #42901A #1A902D
triadic
#42901A #1A4290 #901A42
tetradic
#42901A #1A7D90 #681A90 #902D1A
square
#42901A #1A7D90 #681A90 #902D1A
split-complementary
#42901A #2D1A90 #901A7D
monochromatic
#122807 #2A5C11 #42901A #5AC423 #7ADE47

Accessibility & contrast

On white

4.01
#42901A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#42901A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42901A
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42901A#FFFFFF#000000##000000
##42901A1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8B7C28
Tritanopia (blue-blind)
#3C8B7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #42901a;
/* rgb */ color: rgb(66, 144, 26);
/* oklch */ color: oklch(58.1% 0.166 137.7);
Tailwind
colors: {
  custom: {
    50: '#7fb162',
    500: '#42901a',
    950: '#000000',
  },
}
SCSS
$custom: #42901a;
$custom-light: #7fb162;
$custom-dark: #000000;
JSON
{
  "hex": "#42901a",
  "rgb": {
    "r": 66,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 99.661,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58138,
    "c": 0.16628,
    "h": 137.7
  },
  "luminance": 0.21179
}

Semantic roles & 50–950 ramp

primary
#42901A
secondary
#9647BF
accent
#3CECB0
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42901A

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

Preview Lab → · Contrast checker → · Palette generator →

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