#2F7420#2F7420

#2F7420 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.137 H 140.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2F7420
RGBrgb(47, 116, 32)
HSLhsl(109, 57%, 29%)
HSVhsv(109, 72%, 45%)
CMYKcmyk(59.5%, 0%, 72.4%, 54.5%)
CIE-LABlab(43.06, -38.43, 38.18)
CIE-LCHlch(43.06, 54.17, 135.19°)
OKLaboklab(49.64% -0.1053 0.0872)
OKLCHoklch(49.64% 0.137 140.4)
XYZxyz(7.6780, 13.1987, 3.5092)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7420 #652074
analogous
#597420 #2F7420 #20743B
triadic
#2F7420 #202F74 #74202F
tetradic
#2F7420 #205974 #652074 #743B20
square
#2F7420 #205974 #652074 #743B20
split-complementary
#2F7420 #3B2074 #742059
monochromatic
#0A1807 #1C4413 #2F7420 #42A42D #5BCB43

Accessibility & contrast

On white

5.77
#2F7420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2F7420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7420
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7420#FFFFFF#000000##FFFFFF
##2F74201.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776913
Deuteranopia (green-blind)
#6F6328
Tritanopia (blue-blind)
#267063
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f7420;
/* rgb */ color: rgb(47, 116, 32);
/* oklch */ color: oklch(49.6% 0.137 140.4);
Tailwind
colors: {
  custom: {
    50: '#709d61',
    500: '#2f7420',
    950: '#000000',
  },
}
SCSS
$custom: #2f7420;
$custom-light: #709d61;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7420",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 109.286,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49638,
    "c": 0.1367,
    "h": 140.4
  },
  "luminance": 0.13199
}

Semantic roles & 50–950 ramp

primary
#2F7420
secondary
#9748A8
accent
#48E0C5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F7420

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

Preview Lab → · Contrast checker → · Palette generator →

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