#2F6315#2F6315

#2F6315 is a dark, vivid green. Relative luminance 0.096; OKLCH L 44.7% C 0.122 H 137.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#2F6315
RGBrgb(47, 99, 21)
HSLhsl(100, 65%, 24%)
HSVhsv(100, 79%, 39%)
CMYKcmyk(52.5%, 0%, 78.8%, 61.2%)
CIE-LABlab(37.08, -32.30, 36.60)
CIE-LCHlch(37.08, 48.81, 131.43°)
OKLaboklab(44.69% -0.0895 0.0822)
OKLCHoklch(44.69% 0.122 137.4)
XYZxyz(5.7693, 9.5818, 2.2548)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6315 #491563
analogous
#566315 #2F6315 #156322
triadic
#2F6315 #152F63 #63152F
tetradic
#2F6315 #155663 #491563 #632215
square
#2F6315 #155663 #491563 #632215
split-complementary
#2F6315 #221563 #631556
monochromatic
#0C1905 #17310A #2F6315 #479520 #5FC82A

Accessibility & contrast

On white

7.20
#2F6315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2F6315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6315
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6315#FFFFFF#000000##FFFFFF
##2F63151.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A06
Deuteranopia (green-blind)
#60561D
Tritanopia (blue-blind)
#2C5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f6315;
/* rgb */ color: rgb(47, 99, 21);
/* oklch */ color: oklch(44.7% 0.122 137.4);
Tailwind
colors: {
  custom: {
    50: '#6d9058',
    500: '#2f6315',
    950: '#000000',
  },
}
SCSS
$custom: #2f6315;
$custom-light: #6d9058;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6315",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 100,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44685,
    "c": 0.12153,
    "h": 137.4
  },
  "luminance": 0.09582
}

Semantic roles & 50–950 ramp

primary
#2F6315
secondary
#7A3A9A
accent
#40E8B0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F6315

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

Preview Lab → · Contrast checker → · Palette generator →

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