#2F3311#2F3311

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

Color values

HEX#2F3311
RGBrgb(47, 51, 17)
HSLhsl(67, 50%, 13%)
HSVhsv(67, 67%, 20%)
CMYKcmyk(7.8%, 0%, 66.7%, 80%)
CIE-LABlab(20.09, -7.73, 20.60)
CIE-LCHlch(20.09, 22.00, 110.57°)
OKLaboklab(30.85% -0.0225 0.0479)
OKLCHoklch(30.85% 0.053 115.2)
XYZxyz(2.4573, 3.0125, 0.9822)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3311 #151133
analogous
#332611 #2F3311 #1E3311
triadic
#2F3311 #112F33 #33112F
tetradic
#2F3311 #113326 #151133 #33111E
square
#2F3311 #113326 #151133 #33111E
split-complementary
#2F3311 #111E33 #261133
monochromatic
#151708 #151708 #2F3311 #596120 #848F30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3311#FFFFFF#000000##FFFFFF
##2F33111.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)
#37300D
Deuteranopia (green-blind)
#373113
Tritanopia (blue-blind)
#32302C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f3311;
/* rgb */ color: rgb(47, 51, 17);
/* oklch */ color: oklch(30.8% 0.053 115.2);
Tailwind
colors: {
  custom: {
    50: '#696a50',
    500: '#2f3311',
    950: '#000000',
  },
}
SCSS
$custom: #2f3311;
$custom-light: #696a50;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3311",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 17
  },
  "hsl": {
    "h": 67.059,
    "s": 50,
    "l": 13.333
  },
  "oklch": {
    "l": 0.30848,
    "c": 0.05293,
    "h": 115.2
  },
  "luminance": 0.03012
}

Semantic roles & 50–950 ramp

primary
#2F3311
secondary
#3B346C
accent
#4EDA5F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2F3311

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

Preview Lab → · Contrast checker → · Palette generator →

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