#2A901F#2A901F

#2A901F is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.174 H 141.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2A901F
RGBrgb(42, 144, 31)
HSLhsl(114, 65%, 34%)
HSVhsv(114, 78%, 56%)
CMYKcmyk(70.8%, 0%, 78.5%, 43.5%)
CIE-LABlab(52.44, -50.05, 47.98)
CIE-LCHlch(52.44, 69.33, 136.21°)
OKLaboklab(57.36% -0.1364 0.1075)
OKLCHoklch(57.36% 0.174 141.8)
XYZxyz(11.1748, 20.5365, 4.6711)
Luminance0.2054 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A901F #851F90
analogous
#63901F #2A901F #1F904D
triadic
#2A901F #1F2A90 #901F2A
tetradic
#2A901F #1F6390 #851F90 #904D1F
square
#2A901F #1F6390 #851F90 #904D1F
split-complementary
#2A901F #4D1F90 #901F63
monochromatic
#0D2B09 #1B5E14 #2A901F #39C22A #5DD950

Accessibility & contrast

On white

4.11
#2A901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#2A901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A901F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A901F#FFFFFF#000000##000000
##2A901F1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948203
Deuteranopia (green-blind)
#887A2C
Tritanopia (blue-blind)
#108B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2a901f;
/* rgb */ color: rgb(42, 144, 31);
/* oklch */ color: oklch(57.4% 0.174 141.8);
Tailwind
colors: {
  custom: {
    50: '#74b264',
    500: '#2a901f',
    950: '#000000',
  },
}
SCSS
$custom: #2a901f;
$custom-light: #74b264;
$custom-dark: #000000;
JSON
{
  "hex": "#2a901f",
  "rgb": {
    "r": 42,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 114.159,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57356,
    "c": 0.17373,
    "h": 141.8
  },
  "luminance": 0.20538
}

Semantic roles & 50–950 ramp

primary
#2A901F
secondary
#B24EBC
accent
#40E8D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A901F

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

Preview Lab → · Contrast checker → · Palette generator →

#2A901F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva