#2A701B#2A701B

#2A701B is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.137 H 140.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#2A701B
RGBrgb(42, 112, 27)
HSLhsl(109, 61%, 27%)
HSVhsv(109, 76%, 44%)
CMYKcmyk(62.5%, 0%, 75.9%, 56.1%)
CIE-LABlab(41.47, -38.66, 38.56)
CIE-LCHlch(41.47, 54.60, 135.07°)
OKLaboklab(48.26% -0.1059 0.0873)
OKLCHoklch(48.26% 0.137 140.5)
XYZxyz(6.9465, 12.1591, 3.0176)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A701B #611B70
analogous
#54701B #2A701B #1B7037
triadic
#2A701B #1B2A70 #701B2A
tetradic
#2A701B #1B5470 #611B70 #70371B
square
#2A701B #1B5470 #611B70 #70371B
split-complementary
#2A701B #371B70 #701B54
monochromatic
#091906 #183F0F #2A701B #3CA127 #52CF37

Accessibility & contrast

On white

6.12
#2A701B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2A701B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A701B
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A701B#FFFFFF#000000##FFFFFF
##2A701B1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650C
Deuteranopia (green-blind)
#6A6024
Tritanopia (blue-blind)
#206C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a701b;
/* rgb */ color: rgb(42, 112, 27);
/* oklch */ color: oklch(48.3% 0.137 140.5);
Tailwind
colors: {
  custom: {
    50: '#6d9a5d',
    500: '#2a701b',
    950: '#000000',
  },
}
SCSS
$custom: #2a701b;
$custom-light: #6d9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a701b",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 109.412,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48262,
    "c": 0.13725,
    "h": 140.5
  },
  "luminance": 0.1216
}

Semantic roles & 50–950 ramp

primary
#2A701B
secondary
#9342A5
accent
#44E4C8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2A701B

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

Preview Lab → · Contrast checker → · Palette generator →

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