#2F3A11#2F3A11

#2F3A11 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.8% C 0.064 H 122.7°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#2F3A11
RGBrgb(47, 58, 17)
HSLhsl(76, 55%, 15%)
HSVhsv(76, 71%, 23%)
CMYKcmyk(19%, 0%, 70.7%, 77.3%)
CIE-LABlab(22.55, -12.00, 23.34)
CIE-LCHlch(22.55, 26.24, 117.21°)
OKLaboklab(32.82% -0.0345 0.0538)
OKLCHoklch(32.82% 0.064 122.7)
XYZxyz(2.7865, 3.6709, 1.0920)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3A11 #1C113A
analogous
#3A3111 #2F3A11 #1A3A11
triadic
#2F3A11 #112F3A #3A112F
tetradic
#2F3A11 #113A31 #1C113A #3A111A
square
#2F3A11 #113A31 #1C113A #3A111A
split-complementary
#2F3A11 #111A3A #31113A
monochromatic
#131807 #131807 #2F3A11 #55691F #7C992D

Accessibility & contrast

On white

12.11
#2F3A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2F3A11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3A11
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3A11#FFFFFF#000000##FFFFFF
##2F3A111.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E360C
Deuteranopia (green-blind)
#3C3614
Tritanopia (blue-blind)
#323731
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f3a11;
/* rgb */ color: rgb(47, 58, 17);
/* oklch */ color: oklch(32.8% 0.064 122.7);
Tailwind
colors: {
  custom: {
    50: '#697051',
    500: '#2f3a11',
    950: '#000000',
  },
}
SCSS
$custom: #2f3a11;
$custom-light: #697051;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3a11",
  "rgb": {
    "r": 47,
    "g": 58,
    "b": 17
  },
  "hsl": {
    "h": 76.098,
    "s": 54.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32823,
    "c": 0.06385,
    "h": 122.7
  },
  "luminance": 0.03671
}

Semantic roles & 50–950 ramp

primary
#2F3A11
secondary
#453373
accent
#4ADE72
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F3A11

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

Preview Lab → · Contrast checker → · Palette generator →

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