#2F3115#2F3115

#2F3115 is a dark, muted yellow. Relative luminance 0.029; OKLCH L 30.4% C 0.045 H 112.4°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#2F3115
RGBrgb(47, 49, 21)
HSLhsl(64, 40%, 14%)
HSVhsv(64, 57%, 19%)
CMYKcmyk(4.1%, 0%, 57.1%, 80.8%)
CIE-LABlab(19.45, -6.01, 17.45)
CIE-LCHlch(19.45, 18.46, 109.00°)
OKLaboklab(30.35% -0.0171 0.0416)
OKLCHoklch(30.35% 0.045 112.4)
XYZxyz(2.4060, 2.8551, 1.1337)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3115 #171531
analogous
#312515 #2F3115 #213115
triadic
#2F3115 #152F31 #31152F
tetradic
#2F3115 #153125 #171531 #311521
square
#2F3115 #153125 #171531 #311521
split-complementary
#2F3115 #152131 #251531
monochromatic
#151509 #151509 #2F3115 #585C27 #81873A

Accessibility & contrast

On white

13.37
#2F3115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2F3115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3115
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3115#FFFFFF#000000##FFFFFF
##2F31151.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F13
Deuteranopia (green-blind)
#352F16
Tritanopia (blue-blind)
#322E2A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2f3115;
/* rgb */ color: rgb(47, 49, 21);
/* oklch */ color: oklch(30.4% 0.045 112.4);
Tailwind
colors: {
  custom: {
    50: '#686953',
    500: '#2f3115',
    950: '#000000',
  },
}
SCSS
$custom: #2f3115;
$custom-light: #686953;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3115",
  "rgb": {
    "r": 47,
    "g": 49,
    "b": 21
  },
  "hsl": {
    "h": 64.286,
    "s": 40,
    "l": 13.725
  },
  "oklch": {
    "l": 0.30355,
    "c": 0.04496,
    "h": 112.4
  },
  "luminance": 0.02855
}

Semantic roles & 50–950 ramp

primary
#2F3115
secondary
#3D3A68
accent
#58D060
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2F3115

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

Preview Lab → · Contrast checker → · Palette generator →

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