#2F370D#2F370D

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

Color values

HEX#2F370D
RGBrgb(47, 55, 13)
HSLhsl(71, 62%, 13%)
HSVhsv(71, 76%, 22%)
CMYKcmyk(14.5%, 0%, 76.4%, 78.4%)
CIE-LABlab(21.45, -10.57, 24.22)
CIE-LCHlch(21.45, 26.42, 113.57°)
OKLaboklab(31.92% -0.0309 0.055)
OKLCHoklch(31.92% 0.063 119.4)
XYZxyz(2.6112, 3.3658, 0.8928)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F370D #150D37
analogous
#372A0D #2F370D #1A370D
triadic
#2F370D #0D2F37 #370D2F
tetradic
#2F370D #0D372A #150D37 #370D1A
square
#2F370D #0D372A #150D37 #370D1A
split-complementary
#2F370D #0D1A37 #2A0D37
monochromatic
#151906 #151906 #2F370D #596819 #849A24

Accessibility & contrast

On white

12.55
#2F370D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F370D
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F370D#FFFFFF#000000##FFFFFF
##2F370D1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3308
Deuteranopia (green-blind)
#3A3410
Tritanopia (blue-blind)
#32342E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f370d;
/* rgb */ color: rgb(47, 55, 13);
/* oklch */ color: oklch(31.9% 0.063 119.4);
Tailwind
colors: {
  custom: {
    50: '#696d4e',
    500: '#2f370d',
    950: '#000000',
  },
}
SCSS
$custom: #2f370d;
$custom-light: #696d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f370d",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 13
  },
  "hsl": {
    "h": 71.429,
    "s": 61.765,
    "l": 13.333
  },
  "oklch": {
    "l": 0.31924,
    "c": 0.06312,
    "h": 119.4
  },
  "luminance": 0.03366
}

Semantic roles & 50–950 ramp

primary
#2F370D
secondary
#3B2D72
accent
#43E562
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F370D

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

Preview Lab → · Contrast checker → · Palette generator →

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