#2F3811#2F3811

#2F3811 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.3% C 0.061 H 120.9°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#2F3811
RGBrgb(47, 56, 17)
HSLhsl(74, 53%, 14%)
HSVhsv(74, 70%, 22%)
CMYKcmyk(16.1%, 0%, 69.6%, 78%)
CIE-LABlab(21.85, -10.81, 22.56)
CIE-LCHlch(21.85, 25.02, 115.59°)
OKLaboklab(32.26% -0.0311 0.0521)
OKLCHoklch(32.26% 0.061 120.9)
XYZxyz(2.6877, 3.4732, 1.0590)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3811 #1A1138
analogous
#382E11 #2F3811 #1C3811
triadic
#2F3811 #112F38 #38112F
tetradic
#2F3811 #11382E #1A1138 #38111C
square
#2F3811 #11382E #1A1138 #38111C
split-complementary
#2F3811 #111C38 #2E1138
monochromatic
#141707 #141707 #2F3811 #56671F #7E962E

Accessibility & contrast

On white

12.39
#2F3811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2F3811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3811
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3811#FFFFFF#000000##FFFFFF
##2F38111.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C340D
Deuteranopia (green-blind)
#3B3414
Tritanopia (blue-blind)
#323530
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2f3811;
/* rgb */ color: rgb(47, 56, 17);
/* oklch */ color: oklch(32.3% 0.061 120.9);
Tailwind
colors: {
  custom: {
    50: '#696e51',
    500: '#2f3811',
    950: '#000000',
  },
}
SCSS
$custom: #2f3811;
$custom-light: #696e51;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3811",
  "rgb": {
    "r": 47,
    "g": 56,
    "b": 17
  },
  "hsl": {
    "h": 73.846,
    "s": 53.425,
    "l": 14.314
  },
  "oklch": {
    "l": 0.32255,
    "c": 0.0607,
    "h": 120.9
  },
  "luminance": 0.03473
}

Semantic roles & 50–950 ramp

primary
#2F3811
secondary
#423471
accent
#4BDD6D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F3811

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

Preview Lab → · Contrast checker → · Palette generator →

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