#2F3208#2F3208

#2F3208 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.5% C 0.060 H 113.5°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#2F3208
RGBrgb(47, 50, 8)
HSLhsl(64, 72%, 11%)
HSVhsv(64, 84%, 20%)
CMYKcmyk(6%, 0%, 84%, 80.4%)
CIE-LABlab(19.65, -7.87, 24.36)
CIE-LCHlch(19.65, 25.60, 107.90°)
OKLaboklab(30.46% -0.0241 0.0554)
OKLCHoklch(30.46% 0.06 113.5)
XYZxyz(2.3568, 2.9031, 0.6659)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3208 #0B0832
analogous
#322008 #2F3208 #1A3208
triadic
#2F3208 #082F32 #32082F
tetradic
#2F3208 #083220 #0B0832 #32081A
square
#2F3208 #083220 #0B0832 #32081A
split-complementary
#2F3208 #081A32 #200832
monochromatic
#191A04 #191A04 #2F3208 #616710 #929C19

Accessibility & contrast

On white

13.29
#2F3208 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2F3208 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3208
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3208#FFFFFF#000000##FFFFFF
##2F32081.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F03
Deuteranopia (green-blind)
#36300B
Tritanopia (blue-blind)
#332E2A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f3208;
/* rgb */ color: rgb(47, 50, 8);
/* oklch */ color: oklch(30.5% 0.060 113.5);
Tailwind
colors: {
  custom: {
    50: '#69694b',
    500: '#2f3208',
    950: '#000000',
  },
}
SCSS
$custom: #2f3208;
$custom-light: #69694b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3208",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 8
  },
  "hsl": {
    "h": 64.286,
    "s": 72.414,
    "l": 11.373
  },
  "oklch": {
    "l": 0.30464,
    "c": 0.06037,
    "h": 113.5
  },
  "luminance": 0.02903
}

Semantic roles & 50–950 ramp

primary
#2F3208
secondary
#2A2571
accent
#39EF46
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3208

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

Preview Lab → · Contrast checker → · Palette generator →

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