#2F3404#2F3404

#2F3404 is a dark, moderate yellow. Relative luminance 0.031; OKLCH L 31.0% C 0.067 H 115.7°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#2F3404
RGBrgb(47, 52, 4)
HSLhsl(66, 86%, 11%)
HSVhsv(66, 92%, 20%)
CMYKcmyk(9.6%, 0%, 92.3%, 79.6%)
CIE-LABlab(20.32, -9.40, 26.74)
CIE-LCHlch(20.32, 28.35, 109.38°)
OKLaboklab(30.99% -0.0289 0.0601)
OKLCHoklch(30.99% 0.067 115.7)
XYZxyz(2.4223, 3.0691, 0.5796)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3404 #090434
analogous
#342104 #2F3404 #173404
triadic
#2F3404 #042F34 #34042F
tetradic
#2F3404 #043421 #090434 #340417
square
#2F3404 #043421 #090434 #340417
split-complementary
#2F3404 #041734 #210434
monochromatic
#1A1C02 #1A1C02 #2F3404 #626D08 #96A60D

Accessibility & contrast

On white

13.01
#2F3404 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2F3404 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3404
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3404#FFFFFF#000000##FFFFFF
##2F34041.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383100
Deuteranopia (green-blind)
#383108
Tritanopia (blue-blind)
#33302B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f3404;
/* rgb */ color: rgb(47, 52, 4);
/* oklch */ color: oklch(31.0% 0.067 115.7);
Tailwind
colors: {
  custom: {
    50: '#696b49',
    500: '#2f3404',
    950: '#000000',
  },
}
SCSS
$custom: #2f3404;
$custom-light: #696b49;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3404",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 4
  },
  "hsl": {
    "h": 66.25,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.30988,
    "c": 0.06669,
    "h": 115.7
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#2F3404
secondary
#271E76
accent
#2CFC42
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3404

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

Preview Lab → · Contrast checker → · Palette generator →

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