#2F350F#2F350F

#2F350F is a dark, muted yellow. Relative luminance 0.032; OKLCH L 31.4% C 0.058 H 117.5°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#2F350F
RGBrgb(47, 53, 15)
HSLhsl(69, 56%, 13%)
HSVhsv(69, 72%, 21%)
CMYKcmyk(11.3%, 0%, 71.7%, 79.2%)
CIE-LABlab(20.77, -9.17, 22.46)
CIE-LCHlch(20.77, 24.26, 112.21°)
OKLaboklab(31.38% -0.0268 0.0516)
OKLCHoklch(31.38% 0.058 117.5)
XYZxyz(2.5317, 3.1851, 0.9333)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F350F #150F35
analogous
#35280F #2F350F #1C350F
triadic
#2F350F #0F2F35 #350F2F
tetradic
#2F350F #0F3528 #150F35 #350F1C
square
#2F350F #0F3528 #150F35 #350F1C
split-complementary
#2F350F #0F1C35 #280F35
monochromatic
#151807 #151807 #2F350F #59651C #84942A

Accessibility & contrast

On white

12.83
#2F350F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F350F
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F350F#FFFFFF#000000##FFFFFF
##2F350F1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f350f;
/* rgb */ color: rgb(47, 53, 15);
/* oklch */ color: oklch(31.4% 0.058 117.5);
Tailwind
colors: {
  custom: {
    50: '#696c4f',
    500: '#2f350f',
    950: '#000000',
  },
}
SCSS
$custom: #2f350f;
$custom-light: #696c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f350f",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 15
  },
  "hsl": {
    "h": 69.474,
    "s": 55.882,
    "l": 13.333
  },
  "oklch": {
    "l": 0.31382,
    "c": 0.05814,
    "h": 117.5
  },
  "luminance": 0.03185
}

Semantic roles & 50–950 ramp

primary
#2F350F
secondary
#3B316F
accent
#49DF60
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2F350F

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

Preview Lab → · Contrast checker → · Palette generator →

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