#2F3810#2F3810

#2F3810 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.2% C 0.062 H 120.7°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#2F3810
RGBrgb(47, 56, 16)
HSLhsl(74, 56%, 14%)
HSVhsv(74, 71%, 22%)
CMYKcmyk(16.1%, 0%, 71.4%, 78%)
CIE-LABlab(21.84, -10.90, 23.09)
CIE-LCHlch(21.84, 25.54, 115.27°)
OKLaboklab(32.24% -0.0315 0.0531)
OKLCHoklch(32.24% 0.062 120.7)
XYZxyz(2.6800, 3.4701, 1.0187)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3810 #191038
analogous
#382D10 #2F3810 #1B3810
triadic
#2F3810 #102F38 #38102F
tetradic
#2F3810 #10382D #191038 #38101B
square
#2F3810 #10382D #191038 #38101B
split-complementary
#2F3810 #101B38 #2D1038
monochromatic
#141807 #141807 #2F3810 #57681E #7F972B

Accessibility & contrast

On white

12.40
#2F3810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3810
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3810#FFFFFF#000000##FFFFFF
##2F38101.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3810;
/* rgb */ color: rgb(47, 56, 16);
/* oklch */ color: oklch(32.2% 0.062 120.7);
Tailwind
colors: {
  custom: {
    50: '#696e50',
    500: '#2f3810',
    950: '#000000',
  },
}
SCSS
$custom: #2f3810;
$custom-light: #696e50;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3810",
  "rgb": {
    "r": 47,
    "g": 56,
    "b": 16
  },
  "hsl": {
    "h": 73.5,
    "s": 55.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32242,
    "c": 0.06173,
    "h": 120.7
  },
  "luminance": 0.0347
}

Semantic roles & 50–950 ramp

primary
#2F3810
secondary
#403272
accent
#49DF6B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F3810

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

Preview Lab → · Contrast checker → · Palette generator →

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