#2F3113#2F3113

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

Color values

HEX#2F3113
RGBrgb(47, 49, 19)
HSLhsl(64, 44%, 13%)
HSVhsv(64, 61%, 19%)
CMYKcmyk(4.1%, 0%, 61.2%, 80.8%)
CIE-LABlab(19.42, -6.25, 18.64)
CIE-LCHlch(19.42, 19.66, 108.52°)
OKLaboklab(30.32% -0.018 0.044)
OKLCHoklch(30.32% 0.048 112.3)
XYZxyz(2.3882, 2.8480, 1.0399)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3113 #151331
analogous
#312413 #2F3113 #203113
triadic
#2F3113 #132F31 #31132F
tetradic
#2F3113 #133124 #151331 #311320
square
#2F3113 #133124 #151331 #311320
split-complementary
#2F3113 #132031 #241331
monochromatic
#151609 #151609 #2F3113 #595D24 #848935

Accessibility & contrast

On white

13.38
#2F3113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3113
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3113#FFFFFF#000000##FFFFFF
##2F31131.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3113;
/* rgb */ color: rgb(47, 49, 19);
/* oklch */ color: oklch(30.3% 0.048 112.3);
Tailwind
colors: {
  custom: {
    50: '#686851',
    500: '#2f3113',
    950: '#000000',
  },
}
SCSS
$custom: #2f3113;
$custom-light: #686851;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3113",
  "rgb": {
    "r": 47,
    "g": 49,
    "b": 19
  },
  "hsl": {
    "h": 64,
    "s": 44.118,
    "l": 13.333
  },
  "oklch": {
    "l": 0.30322,
    "c": 0.04751,
    "h": 112.3
  },
  "luminance": 0.02848
}

Semantic roles & 50–950 ramp

primary
#2F3113
secondary
#3B3769
accent
#54D45C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2F3113

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

Preview Lab → · Contrast checker → · Palette generator →

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