#2F350B#2F350B

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

Color values

HEX#2F350B
RGBrgb(47, 53, 11)
HSLhsl(69, 66%, 13%)
HSVhsv(69, 79%, 21%)
CMYKcmyk(11.3%, 0%, 79.2%, 79.2%)
CIE-LABlab(20.73, -9.51, 24.34)
CIE-LCHlch(20.73, 26.13, 111.34°)
OKLaboklab(31.34% -0.0282 0.0552)
OKLCHoklch(31.34% 0.062 117.1)
XYZxyz(2.5059, 3.1747, 0.7973)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F350B #110B35
analogous
#35260B #2F350B #1A350B
triadic
#2F350B #0B2F35 #350B2F
tetradic
#2F350B #0B3526 #110B35 #350B1A
square
#2F350B #0B3526 #110B35 #350B1A
split-complementary
#2F350B #0B1A35 #260B35
monochromatic
#161905 #161905 #2F350B #5C6816 #899A20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F350B#FFFFFF#000000##FFFFFF
##2F350B1.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)
#393206
Deuteranopia (green-blind)
#39320E
Tritanopia (blue-blind)
#32322D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f350b;
/* rgb */ color: rgb(47, 53, 11);
/* oklch */ color: oklch(31.3% 0.062 117.1);
Tailwind
colors: {
  custom: {
    50: '#696c4d',
    500: '#2f350b',
    950: '#000000',
  },
}
SCSS
$custom: #2f350b;
$custom-light: #696c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f350b",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 11
  },
  "hsl": {
    "h": 68.571,
    "s": 65.625,
    "l": 12.549
  },
  "oklch": {
    "l": 0.31338,
    "c": 0.06196,
    "h": 117.1
  },
  "luminance": 0.03175
}

Semantic roles & 50–950 ramp

primary
#2F350B
secondary
#342A72
accent
#3FE957
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F350B

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

Preview Lab → · Contrast checker → · Palette generator →

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