#2F3408#2F3408

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

Color values

HEX#2F3408
RGBrgb(47, 52, 8)
HSLhsl(67, 73%, 12%)
HSVhsv(67, 85%, 20%)
CMYKcmyk(9.6%, 0%, 84.6%, 79.6%)
CIE-LABlab(20.35, -9.11, 25.15)
CIE-LCHlch(20.35, 26.75, 109.92°)
OKLaboklab(31.03% -0.0275 0.0568)
OKLCHoklch(31.03% 0.063 115.8)
XYZxyz(2.4442, 3.0779, 0.6950)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3408 #0D0834
analogous
#342308 #2F3408 #193408
triadic
#2F3408 #082F34 #34082F
tetradic
#2F3408 #083423 #0D0834 #340819
square
#2F3408 #083423 #0D0834 #340819
split-complementary
#2F3408 #081934 #230834
monochromatic
#181B04 #181B04 #2F3408 #5F6910 #8F9E18

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2f3408;
/* rgb */ color: rgb(47, 52, 8);
/* oklch */ color: oklch(31.0% 0.063 115.8);
Tailwind
colors: {
  custom: {
    50: '#696b4b',
    500: '#2f3408',
    950: '#000000',
  },
}
SCSS
$custom: #2f3408;
$custom-light: #696b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3408",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 8
  },
  "hsl": {
    "h": 66.818,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.31027,
    "c": 0.06312,
    "h": 115.8
  },
  "luminance": 0.03078
}

Semantic roles & 50–950 ramp

primary
#2F3408
secondary
#2E2573
accent
#38F04D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3408

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

Preview Lab → · Contrast checker → · Palette generator →

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