#42901F#42901F

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

Color values

HEX#42901F
RGBrgb(66, 144, 31)
HSLhsl(101, 65%, 34%)
HSVhsv(101, 78%, 56%)
CMYKcmyk(54.2%, 0%, 78.5%, 43.5%)
CIE-LABlab(53.17, -44.10, 48.95)
CIE-LCHlch(53.17, 65.89, 132.02°)
OKLaboklab(58.17% -0.122 0.1093)
OKLCHoklch(58.17% 0.164 138.1)
XYZxyz(12.4669, 21.2027, 4.7316)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42901F #6D1F90
analogous
#7B901F #42901F #1F9035
triadic
#42901F #1F4290 #901F42
tetradic
#42901F #1F7B90 #6D1F90 #90351F
square
#42901F #1F7B90 #6D1F90 #90351F
split-complementary
#42901F #351F90 #901F7B
monochromatic
#142B09 #2B5E14 #42901F #59C22A #7BD950

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42901F#FFFFFF#000000##000000
##42901F1.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)
#958303
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#3C8B7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #42901f;
/* rgb */ color: rgb(66, 144, 31);
/* oklch */ color: oklch(58.2% 0.164 138.1);
Tailwind
colors: {
  custom: {
    50: '#7fb164',
    500: '#42901f',
    950: '#000000',
  },
}
SCSS
$custom: #42901f;
$custom-light: #7fb164;
$custom-dark: #000000;
JSON
{
  "hex": "#42901f",
  "rgb": {
    "r": 66,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 101.416,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58168,
    "c": 0.16376,
    "h": 138.1
  },
  "luminance": 0.21204
}

Semantic roles & 50–950 ramp

primary
#42901F
secondary
#9A4EBC
accent
#40E8B4
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42901F

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

Preview Lab → · Contrast checker → · Palette generator →

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