#2F3313#2F3313

#2F3313 is a dark, muted yellow. Relative luminance 0.030; OKLCH L 30.9% C 0.051 H 115.3°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#2F3313
RGBrgb(47, 51, 19)
HSLhsl(68, 46%, 14%)
HSVhsv(68, 63%, 20%)
CMYKcmyk(7.8%, 0%, 62.7%, 80%)
CIE-LABlab(20.12, -7.51, 19.46)
CIE-LCHlch(20.12, 20.86, 111.12°)
OKLaboklab(30.88% -0.0216 0.0457)
OKLCHoklch(30.88% 0.051 115.3)
XYZxyz(2.4737, 3.0190, 1.0684)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3313 #171333
analogous
#332713 #2F3313 #1F3313
triadic
#2F3313 #132F33 #33132F
tetradic
#2F3313 #133327 #171333 #33131F
square
#2F3313 #133327 #171333 #33131F
split-complementary
#2F3313 #131F33 #271333
monochromatic
#151608 #151608 #2F3313 #586024 #818C34

Accessibility & contrast

On white

13.09
#2F3313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2F3313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3313
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3313#FFFFFF#000000##FFFFFF
##2F33131.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373010
Deuteranopia (green-blind)
#363115
Tritanopia (blue-blind)
#32302C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f3313;
/* rgb */ color: rgb(47, 51, 19);
/* oklch */ color: oklch(30.9% 0.051 115.3);
Tailwind
colors: {
  custom: {
    50: '#686a52',
    500: '#2f3313',
    950: '#000000',
  },
}
SCSS
$custom: #2f3313;
$custom-light: #686a52;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3313",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 19
  },
  "hsl": {
    "h": 67.5,
    "s": 45.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.30877,
    "c": 0.05059,
    "h": 115.3
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

primary
#2F3313
secondary
#3D376B
accent
#52D563
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2F3313

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

Preview Lab → · Contrast checker → · Palette generator →

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