#2F380B#2F380B

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

Color values

HEX#2F380B
RGBrgb(47, 56, 11)
HSLhsl(72, 67%, 13%)
HSVhsv(72, 80%, 22%)
CMYKcmyk(16.1%, 0%, 80.4%, 78%)
CIE-LABlab(21.79, -11.32, 25.49)
CIE-LCHlch(21.79, 27.89, 113.95°)
OKLaboklab(32.19% -0.0333 0.0574)
OKLCHoklch(32.19% 0.066 120.1)
XYZxyz(2.6469, 3.4569, 0.8443)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F380B #140B38
analogous
#382A0B #2F380B #18380B
triadic
#2F380B #0B2F38 #380B2F
tetradic
#2F380B #0B382A #140B38 #380B18
square
#2F380B #0B382A #140B38 #380B18
split-complementary
#2F380B #0B1838 #2A0B38
monochromatic
#151A05 #151A05 #2F380B #5A6B15 #859E1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2f380b;
/* rgb */ color: rgb(47, 56, 11);
/* oklch */ color: oklch(32.2% 0.066 120.1);
Tailwind
colors: {
  custom: {
    50: '#696e4d',
    500: '#2f380b',
    950: '#000000',
  },
}
SCSS
$custom: #2f380b;
$custom-light: #696e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f380b",
  "rgb": {
    "r": 47,
    "g": 56,
    "b": 11
  },
  "hsl": {
    "h": 72,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32188,
    "c": 0.06636,
    "h": 120.1
  },
  "luminance": 0.03457
}

Semantic roles & 50–950 ramp

primary
#2F380B
secondary
#392A75
accent
#3EEA60
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F380B

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

Preview Lab → · Contrast checker → · Palette generator →

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