#2F330D#2F330D

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

Color values

HEX#2F330D
RGBrgb(47, 51, 13)
HSLhsl(66, 59%, 13%)
HSVhsv(66, 75%, 20%)
CMYKcmyk(7.8%, 0%, 74.5%, 80%)
CIE-LABlab(20.05, -8.11, 22.67)
CIE-LCHlch(20.05, 24.07, 109.68°)
OKLaboklab(30.8% -0.0241 0.0519)
OKLCHoklch(30.8% 0.057 114.9)
XYZxyz(2.4288, 3.0011, 0.8320)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F330D #110D33
analogous
#33240D #2F330D #1C330D
triadic
#2F330D #0D2F33 #330D2F
tetradic
#2F330D #0D3324 #110D33 #330D1C
square
#2F330D #0D3324 #110D33 #330D1C
split-complementary
#2F330D #0D1C33 #240D33
monochromatic
#161806 #161806 #2F330D #5C6419 #899526

Accessibility & contrast

On white

13.12
#2F330D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F330D
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F330D#FFFFFF#000000##FFFFFF
##2F330D1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373008
Deuteranopia (green-blind)
#373110
Tritanopia (blue-blind)
#32302B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f330d;
/* rgb */ color: rgb(47, 51, 13);
/* oklch */ color: oklch(30.8% 0.057 114.9);
Tailwind
colors: {
  custom: {
    50: '#696a4e',
    500: '#2f330d',
    950: '#000000',
  },
}
SCSS
$custom: #2f330d;
$custom-light: #696a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f330d",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 13
  },
  "hsl": {
    "h": 66.316,
    "s": 59.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30797,
    "c": 0.05719,
    "h": 114.9
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#2F330D
secondary
#342E6E
accent
#45E356
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F330D

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

Preview Lab → · Contrast checker → · Palette generator →

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