#42901C#42901C

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

Color values

HEX#42901C
RGBrgb(66, 144, 28)
HSLhsl(100, 67%, 34%)
HSVhsv(100, 81%, 56%)
CMYKcmyk(54.2%, 0%, 80.6%, 43.5%)
CIE-LABlab(53.15, -44.29, 49.91)
CIE-LCHlch(53.15, 66.73, 131.58°)
OKLaboklab(58.15% -0.1226 0.1109)
OKLCHoklch(58.15% 0.165 137.9)
XYZxyz(12.4292, 21.1876, 4.5330)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42901C #6A1C90
analogous
#7C901C #42901C #1C9030
triadic
#42901C #1C4290 #901C42
tetradic
#42901C #1C7C90 #6A1C90 #90301C
square
#42901C #1C7C90 #6A1C90 #90301C
split-complementary
#42901C #301C90 #901C7C
monochromatic
#132A08 #2B5D12 #42901C #59C326 #7ADC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42901C#FFFFFF#000000##000000
##42901C1.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)
#8B7D29
Tritanopia (blue-blind)
#3C8B7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #42901c;
/* rgb */ color: rgb(66, 144, 28);
/* oklch */ color: oklch(58.1% 0.165 137.9);
Tailwind
colors: {
  custom: {
    50: '#7fb163',
    500: '#42901c',
    950: '#000000',
  },
}
SCSS
$custom: #42901c;
$custom-light: #7fb163;
$custom-dark: #000000;
JSON
{
  "hex": "#42901c",
  "rgb": {
    "r": 66,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 100.345,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58149,
    "c": 0.16531,
    "h": 137.9
  },
  "luminance": 0.21189
}

Semantic roles & 50–950 ramp

primary
#42901C
secondary
#984ABE
accent
#3DEAB2
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42901C

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

Preview Lab → · Contrast checker → · Palette generator →

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