#2F3406#2F3406

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

Color values

HEX#2F3406
RGBrgb(47, 52, 6)
HSLhsl(67, 79%, 11%)
HSVhsv(67, 88%, 20%)
CMYKcmyk(9.6%, 0%, 88.5%, 79.6%)
CIE-LABlab(20.34, -9.26, 25.95)
CIE-LCHlch(20.34, 27.55, 109.64°)
OKLaboklab(31.01% -0.0282 0.0584)
OKLCHoklch(31.01% 0.065 115.8)
XYZxyz(2.4332, 3.0735, 0.6373)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3406 #0B0634
analogous
#342206 #2F3406 #183406
triadic
#2F3406 #062F34 #34062F
tetradic
#2F3406 #063422 #0B0634 #340618
square
#2F3406 #063422 #0B0634 #340618
split-complementary
#2F3406 #061834 #220634
monochromatic
#191B03 #191B03 #2F3406 #616B0C #92A213

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3406#FFFFFF#000000##FFFFFF
##2F34061.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)
#383101
Deuteranopia (green-blind)
#38310A
Tritanopia (blue-blind)
#33302B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f3406;
/* rgb */ color: rgb(47, 52, 6);
/* oklch */ color: oklch(31.0% 0.065 115.8);
Tailwind
colors: {
  custom: {
    50: '#696b4a',
    500: '#2f3406',
    950: '#000000',
  },
}
SCSS
$custom: #2f3406;
$custom-light: #696b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3406",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 6
  },
  "hsl": {
    "h": 66.522,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.31007,
    "c": 0.06488,
    "h": 115.8
  },
  "luminance": 0.03073
}

Semantic roles & 50–950 ramp

primary
#2F3406
secondary
#2A2174
accent
#32F647
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3406

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

Preview Lab → · Contrast checker → · Palette generator →

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