#2F3112#2F3112

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

Color values

HEX#2F3112
RGBrgb(47, 49, 18)
HSLhsl(64, 46%, 13%)
HSVhsv(64, 63%, 19%)
CMYKcmyk(4.1%, 0%, 63.3%, 80.8%)
CIE-LABlab(19.41, -6.36, 19.23)
CIE-LCHlch(19.41, 20.25, 108.30°)
OKLaboklab(30.31% -0.0185 0.0451)
OKLCHoklch(30.31% 0.049 112.3)
XYZxyz(2.3798, 2.8447, 0.9959)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3112 #141231
analogous
#312312 #2F3112 #1F3112
triadic
#2F3112 #122F31 #31122F
tetradic
#2F3112 #123123 #141231 #31121F
square
#2F3112 #123123 #141231 #31121F
split-complementary
#2F3112 #121F31 #231231
monochromatic
#151608 #151608 #2F3112 #5A5E22 #858B33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3112#FFFFFF#000000##FFFFFF
##2F31121.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)
#352F0F
Deuteranopia (green-blind)
#352F14
Tritanopia (blue-blind)
#322E2A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2f3112;
/* rgb */ color: rgb(47, 49, 18);
/* oklch */ color: oklch(30.3% 0.049 112.3);
Tailwind
colors: {
  custom: {
    50: '#686851',
    500: '#2f3112',
    950: '#000000',
  },
}
SCSS
$custom: #2f3112;
$custom-light: #686851;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3112",
  "rgb": {
    "r": 47,
    "g": 49,
    "b": 18
  },
  "hsl": {
    "h": 63.871,
    "s": 46.269,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30306,
    "c": 0.04874,
    "h": 112.3
  },
  "luminance": 0.02845
}

Semantic roles & 50–950 ramp

primary
#2F3112
secondary
#393669
accent
#52D65A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2F3112

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

Preview Lab → · Contrast checker → · Palette generator →

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