#2F380D#2F380D

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

Color values

HEX#2F380D
RGBrgb(47, 56, 13)
HSLhsl(73, 62%, 14%)
HSVhsv(73, 77%, 22%)
CMYKcmyk(16.1%, 0%, 76.8%, 78%)
CIE-LABlab(21.81, -11.17, 24.60)
CIE-LCHlch(21.81, 27.01, 114.42°)
OKLaboklab(32.21% -0.0326 0.0558)
OKLCHoklch(32.21% 0.065 120.3)
XYZxyz(2.6592, 3.4618, 0.9088)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F380D #160D38
analogous
#382B0D #2F380D #19380D
triadic
#2F380D #0D2F38 #380D2F
tetradic
#2F380D #0D382B #160D38 #380D19
square
#2F380D #0D382B #160D38 #380D19
split-complementary
#2F380D #0D1938 #2B0D38
monochromatic
#151906 #151906 #2F380D #596A19 #829B24

Accessibility & contrast

On white

12.41
#2F380D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F380D
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F380D#FFFFFF#000000##FFFFFF
##2F380D1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3407
Deuteranopia (green-blind)
#3B3410
Tritanopia (blue-blind)
#32352F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2f380d;
/* rgb */ color: rgb(47, 56, 13);
/* oklch */ color: oklch(32.2% 0.065 120.3);
Tailwind
colors: {
  custom: {
    50: '#696e4e',
    500: '#2f380d',
    950: '#000000',
  },
}
SCSS
$custom: #2f380d;
$custom-light: #696e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f380d",
  "rgb": {
    "r": 47,
    "g": 56,
    "b": 13
  },
  "hsl": {
    "h": 72.558,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32208,
    "c": 0.06462,
    "h": 120.3
  },
  "luminance": 0.03462
}

Semantic roles & 50–950 ramp

primary
#2F380D
secondary
#3C2D73
accent
#42E565
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F380D

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

Preview Lab → · Contrast checker → · Palette generator →

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