#2F3604#2F3604

#2F3604 is a dark, moderate yellow. Relative luminance 0.033; OKLCH L 31.6% C 0.069 H 117.7°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#2F3604
RGBrgb(47, 54, 4)
HSLhsl(68, 86%, 11%)
HSVhsv(68, 93%, 21%)
CMYKcmyk(13%, 0%, 92.6%, 78.8%)
CIE-LABlab(21.02, -10.62, 27.52)
CIE-LCHlch(21.02, 29.50, 111.11°)
OKLaboklab(31.56% -0.0322 0.0614)
OKLCHoklch(31.56% 0.069 117.7)
XYZxyz(2.5134, 3.2515, 0.6100)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3604 #0B0436
analogous
#362404 #2F3604 #163604
triadic
#2F3604 #042F36 #36042F
tetradic
#2F3604 #043624 #0B0436 #360416
square
#2F3604 #043624 #0B0436 #360416
split-complementary
#2F3604 #041636 #240436
monochromatic
#191C02 #191C02 #2F3604 #616F08 #92A80C

Accessibility & contrast

On white

12.73
#2F3604 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2F3604 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3604
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3604#FFFFFF#000000##FFFFFF
##2F36041.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3200
Deuteranopia (green-blind)
#3A3308
Tritanopia (blue-blind)
#33322D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f3604;
/* rgb */ color: rgb(47, 54, 4);
/* oklch */ color: oklch(31.6% 0.069 117.7);
Tailwind
colors: {
  custom: {
    50: '#696c49',
    500: '#2f3604',
    950: '#000000',
  },
}
SCSS
$custom: #2f3604;
$custom-light: #696c49;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3604",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 4
  },
  "hsl": {
    "h": 68.4,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.31555,
    "c": 0.06938,
    "h": 117.7
  },
  "luminance": 0.03251
}

Semantic roles & 50–950 ramp

primary
#2F3604
secondary
#2A1E78
accent
#2BFC49
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3604

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

Preview Lab → · Contrast checker → · Palette generator →

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