#2F3813#2F3813

#2F3813 is a dark, muted yellow-green. Relative luminance 0.035; OKLCH L 32.3% C 0.059 H 121.2°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#2F3813
RGBrgb(47, 56, 19)
HSLhsl(75, 49%, 15%)
HSVhsv(75, 66%, 22%)
CMYKcmyk(16.1%, 0%, 66.1%, 78%)
CIE-LABlab(21.87, -10.60, 21.47)
CIE-LCHlch(21.87, 23.95, 116.27°)
OKLaboklab(32.28% -0.0303 0.0501)
OKLCHoklch(32.28% 0.059 121.2)
XYZxyz(2.7040, 3.4797, 1.1452)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3813 #1C1338
analogous
#382F13 #2F3813 #1D3813
triadic
#2F3813 #132F38 #38132F
tetradic
#2F3813 #13382F #1C1338 #38131D
square
#2F3813 #13382F #1C1338 #38131D
split-complementary
#2F3813 #131D38 #2F1338
monochromatic
#131708 #131708 #2F3813 #556623 #7C9332

Accessibility & contrast

On white

12.38
#2F3813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2F3813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3813
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3813#FFFFFF#000000##FFFFFF
##2F38131.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3813;
/* rgb */ color: rgb(47, 56, 19);
/* oklch */ color: oklch(32.3% 0.059 121.2);
Tailwind
colors: {
  custom: {
    50: '#696e52',
    500: '#2f3813',
    950: '#000000',
  },
}
SCSS
$custom: #2f3813;
$custom-light: #696e52;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3813",
  "rgb": {
    "r": 47,
    "g": 56,
    "b": 19
  },
  "hsl": {
    "h": 74.595,
    "s": 49.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32282,
    "c": 0.05853,
    "h": 121.2
  },
  "luminance": 0.0348
}

Semantic roles & 50–950 ramp

primary
#2F3813
secondary
#453770
accent
#4FD970
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F3813

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

Preview Lab → · Contrast checker → · Palette generator →

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