#2F3911#2F3911

#2F3911 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.5% C 0.062 H 121.8°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#2F3911
RGBrgb(47, 57, 17)
HSLhsl(75, 54%, 15%)
HSVhsv(75, 70%, 22%)
CMYKcmyk(17.5%, 0%, 70.2%, 77.6%)
CIE-LABlab(22.20, -11.41, 22.95)
CIE-LCHlch(22.20, 25.63, 116.42°)
OKLaboklab(32.54% -0.0328 0.0529)
OKLCHoklch(32.54% 0.062 121.8)
XYZxyz(2.7366, 3.5711, 1.0753)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3911 #1B1139
analogous
#392F11 #2F3911 #1B3911
triadic
#2F3911 #112F39 #39112F
tetradic
#2F3911 #11392F #1B1139 #39111B
square
#2F3911 #11392F #1B1139 #39111B
split-complementary
#2F3911 #111B39 #2F1139
monochromatic
#131807 #131807 #2F3911 #56681F #7D972D

Accessibility & contrast

On white

12.25
#2F3911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2F3911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3911
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3911#FFFFFF#000000##FFFFFF
##2F39111.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D350C
Deuteranopia (green-blind)
#3B3514
Tritanopia (blue-blind)
#323630
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f3911;
/* rgb */ color: rgb(47, 57, 17);
/* oklch */ color: oklch(32.5% 0.062 121.8);
Tailwind
colors: {
  custom: {
    50: '#696f51',
    500: '#2f3911',
    950: '#000000',
  },
}
SCSS
$custom: #2f3911;
$custom-light: #696f51;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3911",
  "rgb": {
    "r": 47,
    "g": 57,
    "b": 17
  },
  "hsl": {
    "h": 75,
    "s": 54.054,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32538,
    "c": 0.06227,
    "h": 121.8
  },
  "luminance": 0.03571
}

Semantic roles & 50–950 ramp

primary
#2F3911
secondary
#433472
accent
#4ADD6F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F3911

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

Preview Lab → · Contrast checker → · Palette generator →

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