#2F3302#2F3302

#2F3302 is a dark, moderate yellow. Relative luminance 0.030; OKLCH L 30.7% C 0.067 H 114.5°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#2F3302
RGBrgb(47, 51, 2)
HSLhsl(65, 92%, 10%)
HSVhsv(65, 96%, 20%)
CMYKcmyk(7.8%, 0%, 96.1%, 80%)
CIE-LABlab(19.95, -8.94, 27.14)
CIE-LCHlch(19.95, 28.57, 108.23°)
OKLaboklab(30.69% -0.0279 0.0612)
OKLCHoklch(30.69% 0.067 114.5)
XYZxyz(2.3672, 2.9764, 0.5072)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3302 #060233
analogous
#331E02 #2F3302 #163302
triadic
#2F3302 #022F33 #33022F
tetradic
#2F3302 #02331E #060233 #330216
square
#2F3302 #02331E #060233 #330216
split-complementary
#2F3302 #021633 #1E0233
monochromatic
#1B1D01 #1B1D01 #2F3302 #656E04 #9CA907

Accessibility & contrast

On white

13.16
#2F3302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3302
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3302#FFFFFF#000000##FFFFFF
##2F33021.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383000
Deuteranopia (green-blind)
#373106
Tritanopia (blue-blind)
#332F2A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f3302;
/* rgb */ color: rgb(47, 51, 2);
/* oklch */ color: oklch(30.7% 0.067 114.5);
Tailwind
colors: {
  custom: {
    50: '#696a48',
    500: '#2f3302',
    950: '#000000',
  },
}
SCSS
$custom: #2f3302;
$custom-light: #696a48;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3302",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 2
  },
  "hsl": {
    "h": 64.898,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.30686,
    "c": 0.06725,
    "h": 114.5
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#2F3302
secondary
#211A77
accent
#29FF3A
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3302

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

Preview Lab → · Contrast checker → · Palette generator →

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