#35310C#35310C

#35310C is a dark, muted yellow. Relative luminance 0.030; OKLCH L 30.9% C 0.054 H 103.1°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#35310C
RGBrgb(53, 49, 12)
HSLhsl(54, 63%, 13%)
HSVhsv(54, 77%, 21%)
CMYKcmyk(0%, 7.5%, 77.4%, 79.2%)
CIE-LABlab(19.96, -3.73, 23.20)
CIE-LCHlch(19.96, 23.50, 99.13°)
OKLaboklab(30.88% -0.0123 0.0528)
OKLCHoklch(30.88% 0.054 103.1)
XYZxyz(2.6330, 2.9802, 0.7843)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35310C #0C1035
analogous
#351C0C #35310C #24350C
triadic
#35310C #0C3531 #310C35
tetradic
#35310C #0C351C #0C1035 #350C24
square
#35310C #0C351C #0C1035 #350C24
split-complementary
#35310C #0C2435 #1C0C35
monochromatic
#191706 #191706 #35310C #675F17 #998D23

Accessibility & contrast

On white

13.16
#35310C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#35310C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35310C
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35310C#FFFFFF#000000##FFFFFF
##35310C1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F07
Deuteranopia (green-blind)
#37310E
Tritanopia (blue-blind)
#3A2D29
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #35310c;
/* rgb */ color: rgb(53, 49, 12);
/* oklch */ color: oklch(30.9% 0.054 103.1);
Tailwind
colors: {
  custom: {
    50: '#6e684d',
    500: '#35310c',
    950: '#000000',
  },
}
SCSS
$custom: #35310c;
$custom-light: #6e684d;
$custom-dark: #000000;
JSON
{
  "hex": "#35310c",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 54.146,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.30876,
    "c": 0.05423,
    "h": 103.1
  },
  "luminance": 0.0298
}

Semantic roles & 50–950 ramp

primary
#35310C
secondary
#2C3371
accent
#52E642
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #35310C

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

Preview Lab → · Contrast checker → · Palette generator →

#35310C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva