#2F370A#2F370A

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

Color values

HEX#2F370A
RGBrgb(47, 55, 10)
HSLhsl(71, 69%, 13%)
HSVhsv(71, 82%, 22%)
CMYKcmyk(14.5%, 0%, 81.8%, 78.4%)
CIE-LABlab(21.43, -10.80, 25.52)
CIE-LCHlch(21.43, 27.71, 112.93°)
OKLaboklab(31.9% -0.0319 0.0574)
OKLCHoklch(31.9% 0.066 119.1)
XYZxyz(2.5933, 3.3586, 0.7988)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F370A #120A37
analogous
#37280A #2F370A #18370A
triadic
#2F370A #0A2F37 #370A2F
tetradic
#2F370A #0A3728 #120A37 #370A18
square
#2F370A #0A3728 #120A37 #370A18
split-complementary
#2F370A #0A1837 #280A37
monochromatic
#161A05 #161A05 #2F370A #5B6B13 #889F1D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F370A#FFFFFF#000000##FFFFFF
##2F370A1.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)
#3B3304
Deuteranopia (green-blind)
#3A340E
Tritanopia (blue-blind)
#32342E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f370a;
/* rgb */ color: rgb(47, 55, 10);
/* oklch */ color: oklch(31.9% 0.066 119.1);
Tailwind
colors: {
  custom: {
    50: '#696d4c',
    500: '#2f370a',
    950: '#000000',
  },
}
SCSS
$custom: #2f370a;
$custom-light: #696d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f370a",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 10
  },
  "hsl": {
    "h": 70.667,
    "s": 69.231,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31895,
    "c": 0.06571,
    "h": 119.1
  },
  "luminance": 0.03359
}

Semantic roles & 50–950 ramp

primary
#2F370A
secondary
#362874
accent
#3CEC5B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F370A

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

Preview Lab → · Contrast checker → · Palette generator →

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