#2F330B#2F330B

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

Color values

HEX#2F330B
RGBrgb(47, 51, 11)
HSLhsl(66, 65%, 12%)
HSVhsv(66, 78%, 20%)
CMYKcmyk(7.8%, 0%, 78.4%, 80%)
CIE-LABlab(20.03, -8.27, 23.55)
CIE-LCHlch(20.03, 24.96, 109.35°)
OKLaboklab(30.78% -0.0248 0.0536)
OKLCHoklch(30.78% 0.059 114.8)
XYZxyz(2.4166, 2.9962, 0.7676)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F330B #0F0B33
analogous
#33230B #2F330B #1B330B
triadic
#2F330B #0B2F33 #330B2F
tetradic
#2F330B #0B3323 #0F0B33 #330B1B
square
#2F330B #0B3323 #0F0B33 #330B1B
split-complementary
#2F330B #0B1B33 #230B33
monochromatic
#171905 #171905 #2F330B #5D6516 #8C9821

Accessibility & contrast

On white

13.13
#2F330B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F330B
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F330B#FFFFFF#000000##FFFFFF
##2F330B1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373006
Deuteranopia (green-blind)
#37310E
Tritanopia (blue-blind)
#33302B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f330b;
/* rgb */ color: rgb(47, 51, 11);
/* oklch */ color: oklch(30.8% 0.059 114.8);
Tailwind
colors: {
  custom: {
    50: '#696a4d',
    500: '#2f330b',
    950: '#000000',
  },
}
SCSS
$custom: #2f330b;
$custom-light: #696a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f330b",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 11
  },
  "hsl": {
    "h": 66,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30775,
    "c": 0.0591,
    "h": 114.8
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#2F330B
secondary
#312A70
accent
#40E851
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F330B

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

Preview Lab → · Contrast checker → · Palette generator →

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