#2F3310#2F3310

#2F3310 is a dark, muted yellow. Relative luminance 0.030; OKLCH L 30.8% C 0.054 H 115.1°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#2F3310
RGBrgb(47, 51, 16)
HSLhsl(67, 52%, 13%)
HSVhsv(67, 69%, 20%)
CMYKcmyk(7.8%, 0%, 68.6%, 80%)
CIE-LABlab(20.08, -7.83, 21.15)
CIE-LCHlch(20.08, 22.55, 110.31°)
OKLaboklab(30.83% -0.0229 0.049)
OKLCHoklch(30.83% 0.054 115.1)
XYZxyz(2.4497, 3.0094, 0.9419)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3310 #141033
analogous
#332510 #2F3310 #1D3310
triadic
#2F3310 #102F33 #33102F
tetradic
#2F3310 #103325 #141033 #33101D
square
#2F3310 #103325 #141033 #33101D
split-complementary
#2F3310 #101D33 #251033
monochromatic
#151707 #151707 #2F3310 #5A621F #85902D

Accessibility & contrast

On white

13.11
#2F3310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3310
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3310#FFFFFF#000000##FFFFFF
##2F33101.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300C
Deuteranopia (green-blind)
#373112
Tritanopia (blue-blind)
#32302B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f3310;
/* rgb */ color: rgb(47, 51, 16);
/* oklch */ color: oklch(30.8% 0.054 115.1);
Tailwind
colors: {
  custom: {
    50: '#696a4f',
    500: '#2f3310',
    950: '#000000',
  },
}
SCSS
$custom: #2f3310;
$custom-light: #696a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3310",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 16
  },
  "hsl": {
    "h": 66.857,
    "s": 52.239,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30834,
    "c": 0.05405,
    "h": 115.1
  },
  "luminance": 0.03009
}

Semantic roles & 50–950 ramp

primary
#2F3310
secondary
#39326C
accent
#4CDC5D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2F3310

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

Preview Lab → · Contrast checker → · Palette generator →

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