#2F6A19#2F6A19

#2F6A19 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.128 H 138.7°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2F6A19
RGBrgb(47, 106, 25)
HSLhsl(104, 62%, 26%)
HSVhsv(104, 76%, 42%)
CMYKcmyk(55.7%, 0%, 76.4%, 58.4%)
CIE-LABlab(39.55, -34.96, 37.48)
CIE-LCHlch(39.55, 51.25, 133.01°)
OKLaboklab(46.73% -0.0964 0.0847)
OKLCHoklch(46.73% 0.128 138.7)
XYZxyz(6.5015, 10.9821, 2.6967)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6A19 #54196A
analogous
#576A19 #2F6A19 #196A2B
triadic
#2F6A19 #192F6A #6A192F
tetradic
#2F6A19 #19576A #54196A #6A2B19
square
#2F6A19 #19576A #54196A #6A2B19
split-complementary
#2F6A19 #2B196A #6A1957
monochromatic
#0B1906 #19380D #2F6A19 #459C25 #5BCD30

Accessibility & contrast

On white

6.57
#2F6A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2F6A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6A19
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6A19#FFFFFF#000000##FFFFFF
##2F6A191.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600A
Deuteranopia (green-blind)
#665B21
Tritanopia (blue-blind)
#2A665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f6a19;
/* rgb */ color: rgb(47, 106, 25);
/* oklch */ color: oklch(46.7% 0.128 138.7);
Tailwind
colors: {
  custom: {
    50: '#6e955b',
    500: '#2f6a19',
    950: '#000000',
  },
}
SCSS
$custom: #2f6a19;
$custom-light: #6e955b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6a19",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 25
  },
  "hsl": {
    "h": 103.704,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46727,
    "c": 0.1283,
    "h": 138.7
  },
  "luminance": 0.10983
}

Semantic roles & 50–950 ramp

primary
#2F6A19
secondary
#853FA0
accent
#43E5B9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6A19

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

Preview Lab → · Contrast checker → · Palette generator →

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