#2F3111#2F3111

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

Color values

HEX#2F3111
RGBrgb(47, 49, 17)
HSLhsl(64, 48%, 13%)
HSVhsv(64, 65%, 19%)
CMYKcmyk(4.1%, 0%, 65.3%, 80.8%)
CIE-LABlab(19.40, -6.46, 19.80)
CIE-LCHlch(19.40, 20.83, 108.08°)
OKLaboklab(30.29% -0.0189 0.0462)
OKLCHoklch(30.29% 0.05 112.3)
XYZxyz(2.3718, 2.8415, 0.9537)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3111 #131131
analogous
#312311 #2F3111 #1F3111
triadic
#2F3111 #112F31 #31112F
tetradic
#2F3111 #113123 #131131 #31111F
square
#2F3111 #113123 #131131 #31111F
split-complementary
#2F3111 #111F31 #231131
monochromatic
#161708 #161708 #2F3111 #5B5E21 #868C31

Accessibility & contrast

On white

13.39
#2F3111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3111
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3111#FFFFFF#000000##FFFFFF
##2F31111.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3111;
/* rgb */ color: rgb(47, 49, 17);
/* oklch */ color: oklch(30.3% 0.050 112.3);
Tailwind
colors: {
  custom: {
    50: '#686850',
    500: '#2f3111',
    950: '#000000',
  },
}
SCSS
$custom: #2f3111;
$custom-light: #686850;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3111",
  "rgb": {
    "r": 47,
    "g": 49,
    "b": 17
  },
  "hsl": {
    "h": 63.75,
    "s": 48.485,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30291,
    "c": 0.04993,
    "h": 112.3
  },
  "luminance": 0.02841
}

Semantic roles & 50–950 ramp

primary
#2F3111
secondary
#37346A
accent
#50D858
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2F3111

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

Preview Lab → · Contrast checker → · Palette generator →

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