#2F3504#2F3504

#2F3504 is a dark, moderate yellow. Relative luminance 0.032; OKLCH L 31.3% C 0.068 H 116.7°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#2F3504
RGBrgb(47, 53, 4)
HSLhsl(67, 86%, 11%)
HSVhsv(67, 92%, 21%)
CMYKcmyk(11.3%, 0%, 92.5%, 79.2%)
CIE-LABlab(20.67, -10.02, 27.13)
CIE-LCHlch(20.67, 28.92, 110.26°)
OKLaboklab(31.27% -0.0306 0.0608)
OKLCHoklch(31.27% 0.068 116.7)
XYZxyz(2.4674, 3.1593, 0.5947)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3504 #0A0435
analogous
#352204 #2F3504 #163504
triadic
#2F3504 #042F35 #35042F
tetradic
#2F3504 #043522 #0A0435 #350416
square
#2F3504 #043522 #0A0435 #350416
split-complementary
#2F3504 #041635 #220435
monochromatic
#191C02 #191C02 #2F3504 #616E08 #94A70D

Accessibility & contrast

On white

12.87
#2F3504 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2F3504 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3504
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3504#FFFFFF#000000##FFFFFF
##2F35041.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393200
Deuteranopia (green-blind)
#393208
Tritanopia (blue-blind)
#33312C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f3504;
/* rgb */ color: rgb(47, 53, 4);
/* oklch */ color: oklch(31.3% 0.068 116.7);
Tailwind
colors: {
  custom: {
    50: '#696c49',
    500: '#2f3504',
    950: '#000000',
  },
}
SCSS
$custom: #2f3504;
$custom-light: #696c49;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3504",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 4
  },
  "hsl": {
    "h": 67.347,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.31271,
    "c": 0.06803,
    "h": 116.7
  },
  "luminance": 0.03159
}

Semantic roles & 50–950 ramp

primary
#2F3504
secondary
#291E77
accent
#2CFC45
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3504

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

Preview Lab → · Contrast checker → · Palette generator →

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