#2F6519#2F6519

#2F6519 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.3% C 0.122 H 138.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#2F6519
RGBrgb(47, 101, 25)
HSLhsl(103, 60%, 25%)
HSVhsv(103, 75%, 40%)
CMYKcmyk(53.5%, 0%, 75.2%, 60.4%)
CIE-LABlab(37.81, -32.84, 35.70)
CIE-LCHlch(37.81, 48.51, 132.60°)
OKLaboklab(45.29% -0.0907 0.081)
OKLCHoklch(45.29% 0.122 138.2)
XYZxyz(6.0012, 9.9814, 2.5299)
Luminance0.0998 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6519 #4F1965
analogous
#556519 #2F6519 #196529
triadic
#2F6519 #192F65 #65192F
tetradic
#2F6519 #195565 #4F1965 #652919
square
#2F6519 #195565 #4F1965 #652919
split-complementary
#2F6519 #291965 #651955
monochromatic
#0B1906 #18340D #2F6519 #469625 #5DC731

Accessibility & contrast

On white

7.01
#2F6519 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2F6519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6519
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6519#FFFFFF#000000##FFFFFF
##2F65191.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C0D
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#2B6156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f6519;
/* rgb */ color: rgb(47, 101, 25);
/* oklch */ color: oklch(45.3% 0.122 138.2);
Tailwind
colors: {
  custom: {
    50: '#6e915b',
    500: '#2f6519',
    950: '#000000',
  },
}
SCSS
$custom: #2f6519;
$custom-light: #6e915b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6519",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 25
  },
  "hsl": {
    "h": 102.632,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45293,
    "c": 0.12155,
    "h": 138.2
  },
  "luminance": 0.09982
}

Semantic roles & 50–950 ramp

primary
#2F6519
secondary
#803F9B
accent
#44E3B5
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2F6519

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

Preview Lab → · Contrast checker → · Palette generator →

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