#2F6515#2F6515

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

Color values

HEX#2F6515
RGBrgb(47, 101, 21)
HSLhsl(101, 66%, 24%)
HSVhsv(101, 79%, 40%)
CMYKcmyk(53.5%, 0%, 79.2%, 60.4%)
CIE-LABlab(37.78, -33.16, 37.29)
CIE-LCHlch(37.78, 49.90, 131.64°)
OKLaboklab(45.26% -0.0918 0.0837)
OKLCHoklch(45.26% 0.124 137.7)
XYZxyz(5.9611, 9.9654, 2.3187)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6515 #4B1565
analogous
#576515 #2F6515 #156523
triadic
#2F6515 #152F65 #65152F
tetradic
#2F6515 #155765 #4B1565 #652315
square
#2F6515 #155765 #4B1565 #652315
split-complementary
#2F6515 #231565 #651557
monochromatic
#0C1905 #17320A #2F6515 #479820 #5ECA2A

Accessibility & contrast

On white

7.02
#2F6515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2F6515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6515
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6515#FFFFFF#000000##FFFFFF
##2F65151.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C05
Deuteranopia (green-blind)
#61571D
Tritanopia (blue-blind)
#2B6156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f6515;
/* rgb */ color: rgb(47, 101, 21);
/* oklch */ color: oklch(45.3% 0.124 137.7);
Tailwind
colors: {
  custom: {
    50: '#6e9159',
    500: '#2f6515',
    950: '#000000',
  },
}
SCSS
$custom: #2f6515;
$custom-light: #6e9159;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6515",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 100.5,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4526,
    "c": 0.12422,
    "h": 137.7
  },
  "luminance": 0.09966
}

Semantic roles & 50–950 ramp

primary
#2F6515
secondary
#7C3A9C
accent
#3FE9B2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6515

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

Preview Lab → · Contrast checker → · Palette generator →

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