#2F5913#2F5913

#2F5913 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.8% C 0.109 H 135.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2F5913
RGBrgb(47, 89, 19)
HSLhsl(96, 65%, 21%)
HSVhsv(96, 79%, 35%)
CMYKcmyk(47.2%, 0%, 78.7%, 65.1%)
CIE-LABlab(33.55, -27.99, 33.89)
CIE-LCHlch(33.55, 43.95, 129.55°)
OKLaboklab(41.78% -0.078 0.0762)
OKLCHoklch(41.78% 0.109 135.7)
XYZxyz(4.8621, 7.7958, 1.8645)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5913 #3D1359
analogous
#525913 #2F5913 #13591A
triadic
#2F5913 #132F59 #59132F
tetradic
#2F5913 #135259 #3D1359 #591A13
square
#2F5913 #135259 #3D1359 #591A13
split-complementary
#2F5913 #1A1359 #591352
monochromatic
#0D1905 #142708 #2F5913 #4A8B1E #64BE29

Accessibility & contrast

On white

8.21
#2F5913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2F5913 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5913
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5913#FFFFFF#000000##FFFFFF
##2F59131.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5106
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#2E554B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f5913;
/* rgb */ color: rgb(47, 89, 19);
/* oklch */ color: oklch(41.8% 0.109 135.7);
Tailwind
colors: {
  custom: {
    50: '#6c8856',
    500: '#2f5913',
    950: '#000000',
  },
}
SCSS
$custom: #2f5913;
$custom-light: #6c8856;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5913",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 19
  },
  "hsl": {
    "h": 96,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41783,
    "c": 0.10907,
    "h": 135.7
  },
  "luminance": 0.07796
}

Semantic roles & 50–950 ramp

primary
#2F5913
secondary
#6D3791
accent
#40E8A5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5913

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

Preview Lab → · Contrast checker → · Palette generator →

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