#2F350D#2F350D

#2F350D is a dark, moderate yellow. Relative luminance 0.032; OKLCH L 31.4% C 0.060 H 117.3°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#2F350D
RGBrgb(47, 53, 13)
HSLhsl(69, 61%, 13%)
HSVhsv(69, 75%, 21%)
CMYKcmyk(11.3%, 0%, 75.5%, 79.2%)
CIE-LABlab(20.75, -9.35, 23.45)
CIE-LCHlch(20.75, 25.24, 111.73°)
OKLaboklab(31.36% -0.0276 0.0535)
OKLCHoklch(31.36% 0.06 117.3)
XYZxyz(2.5181, 3.1796, 0.8618)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F350D #130D35
analogous
#35270D #2F350D #1B350D
triadic
#2F350D #0D2F35 #350D2F
tetradic
#2F350D #0D3527 #130D35 #350D1B
square
#2F350D #0D3527 #130D35 #350D1B
split-complementary
#2F350D #0D1B35 #270D35
monochromatic
#161906 #161906 #2F350D #5B6619 #869725

Accessibility & contrast

On white

12.84
#2F350D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2F350D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F350D
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F350D#FFFFFF#000000##FFFFFF
##2F350D1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393208
Deuteranopia (green-blind)
#383210
Tritanopia (blue-blind)
#32322D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f350d;
/* rgb */ color: rgb(47, 53, 13);
/* oklch */ color: oklch(31.4% 0.060 117.3);
Tailwind
colors: {
  custom: {
    50: '#696c4e',
    500: '#2f350d',
    950: '#000000',
  },
}
SCSS
$custom: #2f350d;
$custom-light: #696c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f350d",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 13
  },
  "hsl": {
    "h": 69,
    "s": 60.606,
    "l": 12.941
  },
  "oklch": {
    "l": 0.31359,
    "c": 0.06014,
    "h": 117.3
  },
  "luminance": 0.0318
}

Semantic roles & 50–950 ramp

primary
#2F350D
secondary
#372D70
accent
#44E45C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F350D

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

Preview Lab → · Contrast checker → · Palette generator →

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