#2F3409#2F3409

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

Color values

HEX#2F3409
RGBrgb(47, 52, 9)
HSLhsl(67, 70%, 12%)
HSVhsv(67, 83%, 20%)
CMYKcmyk(9.6%, 0%, 82.7%, 79.6%)
CIE-LABlab(20.36, -9.04, 24.75)
CIE-LCHlch(20.36, 26.35, 110.06°)
OKLaboklab(31.04% -0.0272 0.056)
OKLCHoklch(31.04% 0.062 115.9)
XYZxyz(2.4497, 3.0801, 0.7239)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3409 #0E0934
analogous
#342409 #2F3409 #1A3409
triadic
#2F3409 #092F34 #34092F
tetradic
#2F3409 #093424 #0E0934 #34091A
square
#2F3409 #093424 #0E0934 #34091A
split-complementary
#2F3409 #091A34 #240934
monochromatic
#181A05 #181A05 #2F3409 #5E6812 #8D9C1B

Accessibility & contrast

On white

13.00
#2F3409 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2F3409 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3409
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3409#FFFFFF#000000##FFFFFF
##2F34091.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383104
Deuteranopia (green-blind)
#38310C
Tritanopia (blue-blind)
#33312C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f3409;
/* rgb */ color: rgb(47, 52, 9);
/* oklch */ color: oklch(31.0% 0.062 115.9);
Tailwind
colors: {
  custom: {
    50: '#696b4c',
    500: '#2f3409',
    950: '#000000',
  },
}
SCSS
$custom: #2f3409;
$custom-light: #696b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3409",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 9
  },
  "hsl": {
    "h": 66.977,
    "s": 70.492,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31036,
    "c": 0.06225,
    "h": 115.9
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#2F3409
secondary
#2F2772
accent
#3BED4F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3409

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

Preview Lab → · Contrast checker → · Palette generator →

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