#2F350A#2F350A

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

Color values

HEX#2F350A
RGBrgb(47, 53, 10)
HSLhsl(68, 68%, 12%)
HSVhsv(68, 81%, 21%)
CMYKcmyk(11.3%, 0%, 81.1%, 79.2%)
CIE-LABlab(20.72, -9.58, 24.75)
CIE-LCHlch(20.72, 26.54, 111.17°)
OKLaboklab(31.33% -0.0286 0.056)
OKLCHoklch(31.33% 0.063 117.1)
XYZxyz(2.5002, 3.1725, 0.7677)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F350A #100A35
analogous
#35260A #2F350A #1A350A
triadic
#2F350A #0A2F35 #350A2F
tetradic
#2F350A #0A3526 #100A35 #350A1A
square
#2F350A #0A3526 #100A35 #350A1A
split-complementary
#2F350A #0A1A35 #260A35
monochromatic
#171A05 #171A05 #2F350A #5D6814 #8A9C1D

Accessibility & contrast

On white

12.85
#2F350A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2F350A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F350A
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F350A#FFFFFF#000000##FFFFFF
##2F350A1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393205
Deuteranopia (green-blind)
#39320D
Tritanopia (blue-blind)
#32322C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f350a;
/* rgb */ color: rgb(47, 53, 10);
/* oklch */ color: oklch(31.3% 0.063 117.1);
Tailwind
colors: {
  custom: {
    50: '#696c4c',
    500: '#2f350a',
    950: '#000000',
  },
}
SCSS
$custom: #2f350a;
$custom-light: #696c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f350a",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 10
  },
  "hsl": {
    "h": 68.372,
    "s": 68.254,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31328,
    "c": 0.06282,
    "h": 117.1
  },
  "luminance": 0.03172
}

Semantic roles & 50–950 ramp

primary
#2F350A
secondary
#332872
accent
#3DEB55
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F350A

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

Preview Lab → · Contrast checker → · Palette generator →

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