#2F380A#2F380A

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

Color values

HEX#2F380A
RGBrgb(47, 56, 10)
HSLhsl(72, 70%, 13%)
HSVhsv(72, 82%, 22%)
CMYKcmyk(16.1%, 0%, 82.1%, 78%)
CIE-LABlab(21.78, -11.40, 25.90)
CIE-LCHlch(21.78, 28.29, 113.75°)
OKLaboklab(32.18% -0.0336 0.0582)
OKLCHoklch(32.18% 0.067 120)
XYZxyz(2.6413, 3.4546, 0.8148)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F380A #130A38
analogous
#382A0A #2F380A #18380A
triadic
#2F380A #0A2F38 #380A2F
tetradic
#2F380A #0A382A #130A38 #380A18
square
#2F380A #0A382A #130A38 #380A18
split-complementary
#2F380A #0A1838 #2A0A38
monochromatic
#161A05 #161A05 #2F380A #5B6C13 #86A01D

Accessibility & contrast

On white

12.42
#2F380A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F380A
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F380A#FFFFFF#000000##FFFFFF
##2F380A1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f380a;
/* rgb */ color: rgb(47, 56, 10);
/* oklch */ color: oklch(32.2% 0.067 120.0);
Tailwind
colors: {
  custom: {
    50: '#696e4d',
    500: '#2f380a',
    950: '#000000',
  },
}
SCSS
$custom: #2f380a;
$custom-light: #696e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f380a",
  "rgb": {
    "r": 47,
    "g": 56,
    "b": 10
  },
  "hsl": {
    "h": 71.739,
    "s": 69.697,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32179,
    "c": 0.06718,
    "h": 120
  },
  "luminance": 0.03455
}

Semantic roles & 50–950 ramp

primary
#2F380A
secondary
#372875
accent
#3BED5E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F380A

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

Preview Lab → · Contrast checker → · Palette generator →

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