#2F3303#2F3303

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

Color values

HEX#2F3303
RGBrgb(47, 51, 3)
HSLhsl(65, 89%, 11%)
HSVhsv(65, 94%, 20%)
CMYKcmyk(7.8%, 0%, 94.1%, 80%)
CIE-LABlab(19.96, -8.86, 26.74)
CIE-LCHlch(19.96, 28.17, 108.34°)
OKLaboklab(30.7% -0.0275 0.0603)
OKLCHoklch(30.7% 0.066 114.5)
XYZxyz(2.3726, 2.9786, 0.5361)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3303 #070333
analogous
#331F03 #2F3303 #173303
triadic
#2F3303 #032F33 #33032F
tetradic
#2F3303 #03331F #070333 #330317
square
#2F3303 #03331F #070333 #330317
split-complementary
#2F3303 #031733 #1F0333
monochromatic
#1B1D02 #1B1D02 #2F3303 #646D06 #9AA70A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3303#FFFFFF#000000##FFFFFF
##2F33031.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: #2f3303;
/* rgb */ color: rgb(47, 51, 3);
/* oklch */ color: oklch(30.7% 0.066 114.5);
Tailwind
colors: {
  custom: {
    50: '#696a49',
    500: '#2f3303',
    950: '#000000',
  },
}
SCSS
$custom: #2f3303;
$custom-light: #696a49;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3303",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 3
  },
  "hsl": {
    "h": 65,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.30696,
    "c": 0.06631,
    "h": 114.5
  },
  "luminance": 0.02979
}

Semantic roles & 50–950 ramp

primary
#2F3303
secondary
#231C76
accent
#29FF3B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3303

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

Preview Lab → · Contrast checker → · Palette generator →

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