#2F3708#2F3708

#2F3708 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.9% C 0.067 H 118.9°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#2F3708
RGBrgb(47, 55, 8)
HSLhsl(70, 75%, 12%)
HSVhsv(70, 85%, 22%)
CMYKcmyk(14.5%, 0%, 85.5%, 78.4%)
CIE-LABlab(21.41, -10.94, 26.31)
CIE-LCHlch(21.41, 28.50, 112.57°)
OKLaboklab(31.88% -0.0326 0.059)
OKLCHoklch(31.88% 0.067 118.9)
XYZxyz(2.5824, 3.3543, 0.7411)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3708 #100837
analogous
#372808 #2F3708 #173708
triadic
#2F3708 #082F37 #37082F
tetradic
#2F3708 #083728 #100837 #370817
square
#2F3708 #083728 #100837 #370817
split-complementary
#2F3708 #081737 #280837
monochromatic
#171B04 #171B04 #2F3708 #5D6C10 #8AA218

Accessibility & contrast

On white

12.57
#2F3708 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2F3708 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3708
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3708#FFFFFF#000000##FFFFFF
##2F37081.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3302
Deuteranopia (green-blind)
#3A340C
Tritanopia (blue-blind)
#32332E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f3708;
/* rgb */ color: rgb(47, 55, 8);
/* oklch */ color: oklch(31.9% 0.067 118.9);
Tailwind
colors: {
  custom: {
    50: '#696d4b',
    500: '#2f3708',
    950: '#000000',
  },
}
SCSS
$custom: #2f3708;
$custom-light: #696d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3708",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 8
  },
  "hsl": {
    "h": 70.213,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31876,
    "c": 0.06736,
    "h": 118.9
  },
  "luminance": 0.03354
}

Semantic roles & 50–950 ramp

primary
#2F3708
secondary
#332576
accent
#37F156
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3708

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

Preview Lab → · Contrast checker → · Palette generator →

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