#2F370B#2F370B

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

Color values

HEX#2F370B
RGBrgb(47, 55, 11)
HSLhsl(71, 67%, 13%)
HSVhsv(71, 80%, 22%)
CMYKcmyk(14.5%, 0%, 80%, 78.4%)
CIE-LABlab(21.43, -10.72, 25.11)
CIE-LCHlch(21.43, 27.30, 113.13°)
OKLaboklab(31.9% -0.0316 0.0567)
OKLCHoklch(31.9% 0.065 119.2)
XYZxyz(2.5989, 3.3609, 0.8283)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F370B #130B37
analogous
#37290B #2F370B #19370B
triadic
#2F370B #0B2F37 #370B2F
tetradic
#2F370B #0B3729 #130B37 #370B19
square
#2F370B #0B3729 #130B37 #370B19
split-complementary
#2F370B #0B1937 #290B37
monochromatic
#161A05 #161A05 #2F370B #5B6A15 #869D1F

Accessibility & contrast

On white

12.56
#2F370B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F370B
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F370B#FFFFFF#000000##FFFFFF
##2F370B1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f370b;
/* rgb */ color: rgb(47, 55, 11);
/* oklch */ color: oklch(31.9% 0.065 119.2);
Tailwind
colors: {
  custom: {
    50: '#696d4d',
    500: '#2f370b',
    950: '#000000',
  },
}
SCSS
$custom: #2f370b;
$custom-light: #696d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f370b",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 11
  },
  "hsl": {
    "h": 70.909,
    "s": 66.667,
    "l": 12.941
  },
  "oklch": {
    "l": 0.31904,
    "c": 0.06489,
    "h": 119.2
  },
  "luminance": 0.03361
}

Semantic roles & 50–950 ramp

primary
#2F370B
secondary
#372A74
accent
#3EEA5D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F370B

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

Preview Lab → · Contrast checker → · Palette generator →

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