#2F310E#2F310E

#2F310E is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.3% C 0.053 H 112.2°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#2F310E
RGBrgb(47, 49, 14)
HSLhsl(63, 56%, 12%)
HSVhsv(63, 71%, 19%)
CMYKcmyk(4.1%, 0%, 71.4%, 80.8%)
CIE-LABlab(19.36, -6.76, 21.39)
CIE-LCHlch(19.36, 22.43, 107.53°)
OKLaboklab(30.25% -0.0202 0.0493)
OKLCHoklch(30.25% 0.053 112.2)
XYZxyz(2.3499, 2.8327, 0.8384)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F310E #100E31
analogous
#31220E #2F310E #1D310E
triadic
#2F310E #0E2F31 #310E2F
tetradic
#2F310E #0E3122 #100E31 #310E1D
square
#2F310E #0E3122 #100E31 #310E1D
split-complementary
#2F310E #0E1D31 #220E31
monochromatic
#171807 #171807 #2F310E #5D611C #8A9029

Accessibility & contrast

On white

13.40
#2F310E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2F310E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F310E
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F310E#FFFFFF#000000##FFFFFF
##2F310E1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E0A
Deuteranopia (green-blind)
#352F10
Tritanopia (blue-blind)
#332E2A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2f310e;
/* rgb */ color: rgb(47, 49, 14);
/* oklch */ color: oklch(30.3% 0.053 112.2);
Tailwind
colors: {
  custom: {
    50: '#69684e',
    500: '#2f310e',
    950: '#000000',
  },
}
SCSS
$custom: #2f310e;
$custom-light: #69684e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f310e",
  "rgb": {
    "r": 47,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 63.429,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.3025,
    "c": 0.05328,
    "h": 112.2
  },
  "luminance": 0.02833
}

Semantic roles & 50–950 ramp

primary
#2F310E
secondary
#332F6C
accent
#49DF51
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F310E

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

Preview Lab → · Contrast checker → · Palette generator →

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