#2F330A#2F330A

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

Color values

HEX#2F330A
RGBrgb(47, 51, 10)
HSLhsl(66, 67%, 12%)
HSVhsv(66, 80%, 20%)
CMYKcmyk(7.8%, 0%, 80.4%, 80%)
CIE-LABlab(20.02, -8.34, 23.96)
CIE-LCHlch(20.02, 25.37, 109.20°)
OKLaboklab(30.76% -0.0251 0.0545)
OKLCHoklch(30.76% 0.06 114.8)
XYZxyz(2.4110, 2.9939, 0.7380)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F330A #0E0A33
analogous
#33230A #2F330A #1B330A
triadic
#2F330A #0A2F33 #330A2F
tetradic
#2F330A #0A3323 #0E0A33 #330A1B
square
#2F330A #0A3323 #0E0A33 #330A1B
split-complementary
#2F330A #0A1B33 #230A33
monochromatic
#181A05 #181A05 #2F330A #5E6614 #8D991E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F330A#FFFFFF#000000##FFFFFF
##2F330A1.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)
#373005
Deuteranopia (green-blind)
#37310D
Tritanopia (blue-blind)
#33302B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f330a;
/* rgb */ color: rgb(47, 51, 10);
/* oklch */ color: oklch(30.8% 0.060 114.8);
Tailwind
colors: {
  custom: {
    50: '#696a4c',
    500: '#2f330a',
    950: '#000000',
  },
}
SCSS
$custom: #2f330a;
$custom-light: #696a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f330a",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 10
  },
  "hsl": {
    "h": 65.854,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30765,
    "c": 0.05998,
    "h": 114.8
  },
  "luminance": 0.02994
}

Semantic roles & 50–950 ramp

primary
#2F330A
secondary
#2F2870
accent
#3EEA4F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F330A

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

Preview Lab → · Contrast checker → · Palette generator →

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