#2F370F#2F370F

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

Color values

HEX#2F370F
RGBrgb(47, 55, 15)
HSLhsl(72, 57%, 14%)
HSVhsv(72, 73%, 22%)
CMYKcmyk(14.5%, 0%, 72.7%, 78.4%)
CIE-LABlab(21.47, -10.39, 23.23)
CIE-LCHlch(21.47, 25.45, 114.10°)
OKLaboklab(31.95% -0.0302 0.0532)
OKLCHoklch(31.95% 0.061 119.6)
XYZxyz(2.6247, 3.3712, 0.9643)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F370F #170F37
analogous
#372B0F #2F370F #1B370F
triadic
#2F370F #0F2F37 #370F2F
tetradic
#2F370F #0F372B #170F37 #370F1B
square
#2F370F #0F372B #170F37 #370F1B
split-complementary
#2F370F #0F1B37 #2B0F37
monochromatic
#151807 #151807 #2F370F #58671C #819729

Accessibility & contrast

On white

12.54
#2F370F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F370F
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F370F#FFFFFF#000000##FFFFFF
##2F370F1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340A
Deuteranopia (green-blind)
#3A3412
Tritanopia (blue-blind)
#32342F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f370f;
/* rgb */ color: rgb(47, 55, 15);
/* oklch */ color: oklch(31.9% 0.061 119.6);
Tailwind
colors: {
  custom: {
    50: '#696d4f',
    500: '#2f370f',
    950: '#000000',
  },
}
SCSS
$custom: #2f370f;
$custom-light: #696d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f370f",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 15
  },
  "hsl": {
    "h": 72,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31947,
    "c": 0.06119,
    "h": 119.6
  },
  "luminance": 0.03371
}

Semantic roles & 50–950 ramp

primary
#2F370F
secondary
#3D3171
accent
#47E066
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F370F

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

Preview Lab → · Contrast checker → · Palette generator →

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