#2F380C#2F380C

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

Color values

HEX#2F380C
RGBrgb(47, 56, 12)
HSLhsl(72, 65%, 13%)
HSVhsv(72, 79%, 22%)
CMYKcmyk(16.1%, 0%, 78.6%, 78%)
CIE-LABlab(21.80, -11.25, 25.05)
CIE-LCHlch(21.80, 27.46, 114.17°)
OKLaboklab(32.2% -0.033 0.0566)
OKLCHoklch(32.2% 0.066 120.2)
XYZxyz(2.6529, 3.4592, 0.8757)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F380C #150C38
analogous
#382B0C #2F380C #19380C
triadic
#2F380C #0C2F38 #380C2F
tetradic
#2F380C #0C382B #150C38 #380C19
square
#2F380C #0C382B #150C38 #380C19
split-complementary
#2F380C #0C1938 #2B0C38
monochromatic
#151905 #151905 #2F380C #596A17 #849D22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F380C#FFFFFF#000000##FFFFFF
##2F380C1.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)
#3C3406
Deuteranopia (green-blind)
#3B340F
Tritanopia (blue-blind)
#32352F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2f380c;
/* rgb */ color: rgb(47, 56, 12);
/* oklch */ color: oklch(32.2% 0.066 120.2);
Tailwind
colors: {
  custom: {
    50: '#696e4e',
    500: '#2f380c',
    950: '#000000',
  },
}
SCSS
$custom: #2f380c;
$custom-light: #696e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f380c",
  "rgb": {
    "r": 47,
    "g": 56,
    "b": 12
  },
  "hsl": {
    "h": 72.273,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32198,
    "c": 0.06551,
    "h": 120.2
  },
  "luminance": 0.03459
}

Semantic roles & 50–950 ramp

primary
#2F380C
secondary
#3B2C74
accent
#40E862
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F380C

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

Preview Lab → · Contrast checker → · Palette generator →

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