#2F370E#2F370E

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

Color values

HEX#2F370E
RGBrgb(47, 55, 14)
HSLhsl(72, 59%, 14%)
HSVhsv(72, 75%, 22%)
CMYKcmyk(14.5%, 0%, 74.5%, 78.4%)
CIE-LABlab(21.46, -10.48, 23.74)
CIE-LCHlch(21.46, 25.95, 113.82°)
OKLaboklab(31.94% -0.0306 0.0541)
OKLCHoklch(31.94% 0.062 119.5)
XYZxyz(2.6178, 3.3684, 0.9276)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F370E #160E37
analogous
#372A0E #2F370E #1A370E
triadic
#2F370E #0E2F37 #370E2F
tetradic
#2F370E #0E372A #160E37 #370E1A
square
#2F370E #0E372A #160E37 #370E1A
split-complementary
#2F370E #0E1A37 #2A0E37
monochromatic
#151806 #151806 #2F370E #59681A #829927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F370E#FFFFFF#000000##FFFFFF
##2F370E1.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)
#3B3409
Deuteranopia (green-blind)
#3A3411
Tritanopia (blue-blind)
#32342F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f370e;
/* rgb */ color: rgb(47, 55, 14);
/* oklch */ color: oklch(31.9% 0.062 119.5);
Tailwind
colors: {
  custom: {
    50: '#696d4f',
    500: '#2f370e',
    950: '#000000',
  },
}
SCSS
$custom: #2f370e;
$custom-light: #696d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f370e",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 14
  },
  "hsl": {
    "h": 71.707,
    "s": 59.42,
    "l": 13.529
  },
  "oklch": {
    "l": 0.31935,
    "c": 0.06217,
    "h": 119.5
  },
  "luminance": 0.03368
}

Semantic roles & 50–950 ramp

primary
#2F370E
secondary
#3C2F72
accent
#45E364
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F370E

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

Preview Lab → · Contrast checker → · Palette generator →

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