#2F330F#2F330F

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

Color values

HEX#2F330F
RGBrgb(47, 51, 15)
HSLhsl(67, 55%, 13%)
HSVhsv(67, 71%, 20%)
CMYKcmyk(7.8%, 0%, 70.6%, 80%)
CIE-LABlab(20.07, -7.93, 21.68)
CIE-LCHlch(20.07, 23.08, 110.08°)
OKLaboklab(30.82% -0.0233 0.05)
OKLCHoklch(30.82% 0.055 115)
XYZxyz(2.4424, 3.0065, 0.9035)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F330F #130F33
analogous
#33250F #2F330F #1D330F
triadic
#2F330F #0F2F33 #330F2F
tetradic
#2F330F #0F3325 #130F33 #330F1D
square
#2F330F #0F3325 #130F33 #330F1D
split-complementary
#2F330F #0F1D33 #250F33
monochromatic
#161807 #161807 #2F330F #5B621D #86922B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F330F#FFFFFF#000000##FFFFFF
##2F330F1.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)
#37300B
Deuteranopia (green-blind)
#373111
Tritanopia (blue-blind)
#32302B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f330f;
/* rgb */ color: rgb(47, 51, 15);
/* oklch */ color: oklch(30.8% 0.055 115.0);
Tailwind
colors: {
  custom: {
    50: '#696a4f',
    500: '#2f330f',
    950: '#000000',
  },
}
SCSS
$custom: #2f330f;
$custom-light: #696a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f330f",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 15
  },
  "hsl": {
    "h": 66.667,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30821,
    "c": 0.05513,
    "h": 115
  },
  "luminance": 0.03006
}

Semantic roles & 50–950 ramp

primary
#2F330F
secondary
#37316D
accent
#4ADE5A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2F330F

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

Preview Lab → · Contrast checker → · Palette generator →

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