#2F350C#2F350C

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

Color values

HEX#2F350C
RGBrgb(47, 53, 12)
HSLhsl(69, 63%, 13%)
HSVhsv(69, 77%, 21%)
CMYKcmyk(11.3%, 0%, 77.4%, 79.2%)
CIE-LABlab(20.74, -9.43, 23.90)
CIE-LCHlch(20.74, 25.70, 111.53°)
OKLaboklab(31.35% -0.0279 0.0543)
OKLCHoklch(31.35% 0.061 117.2)
XYZxyz(2.5118, 3.1771, 0.8287)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F350C #120C35
analogous
#35260C #2F350C #1B350C
triadic
#2F350C #0C2F35 #350C2F
tetradic
#2F350C #0C3526 #120C35 #350C1B
square
#2F350C #0C3526 #120C35 #350C1B
split-complementary
#2F350C #0C1B35 #260C35
monochromatic
#161906 #161906 #2F350C #5B6717 #889923

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F350C#FFFFFF#000000##FFFFFF
##2F350C1.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)
#393207
Deuteranopia (green-blind)
#39320F
Tritanopia (blue-blind)
#32322D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f350c;
/* rgb */ color: rgb(47, 53, 12);
/* oklch */ color: oklch(31.3% 0.061 117.2);
Tailwind
colors: {
  custom: {
    50: '#696c4d',
    500: '#2f350c',
    950: '#000000',
  },
}
SCSS
$custom: #2f350c;
$custom-light: #696c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f350c",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 12
  },
  "hsl": {
    "h": 68.78,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31348,
    "c": 0.06107,
    "h": 117.2
  },
  "luminance": 0.03177
}

Semantic roles & 50–950 ramp

primary
#2F350C
secondary
#362C71
accent
#42E65A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F350C

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

Preview Lab → · Contrast checker → · Palette generator →

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