#2F3211#2F3211

#2F3211 is a dark, muted yellow. Relative luminance 0.029; OKLCH L 30.6% C 0.051 H 113.8°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#2F3211
RGBrgb(47, 50, 17)
HSLhsl(65, 49%, 13%)
HSVhsv(65, 66%, 20%)
CMYKcmyk(6%, 0%, 66%, 80.4%)
CIE-LABlab(19.75, -7.10, 20.20)
CIE-LCHlch(19.75, 21.41, 109.37°)
OKLaboklab(30.57% -0.0207 0.0471)
OKLCHoklch(30.57% 0.051 113.8)
XYZxyz(2.4141, 2.9261, 0.9678)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3211 #141132
analogous
#322411 #2F3211 #1E3211
triadic
#2F3211 #112F32 #32112F
tetradic
#2F3211 #113224 #141132 #32111E
square
#2F3211 #113224 #141132 #32111E
split-complementary
#2F3211 #111E32 #241132
monochromatic
#151708 #151708 #2F3211 #5A6021 #858D30

Accessibility & contrast

On white

13.25
#2F3211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2F3211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3211
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3211#FFFFFF#000000##FFFFFF
##2F32111.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F0E
Deuteranopia (green-blind)
#363013
Tritanopia (blue-blind)
#322F2B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f3211;
/* rgb */ color: rgb(47, 50, 17);
/* oklch */ color: oklch(30.6% 0.051 113.8);
Tailwind
colors: {
  custom: {
    50: '#686950',
    500: '#2f3211',
    950: '#000000',
  },
}
SCSS
$custom: #2f3211;
$custom-light: #686950;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3211",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 17
  },
  "hsl": {
    "h": 65.455,
    "s": 49.254,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30569,
    "c": 0.05142,
    "h": 113.8
  },
  "luminance": 0.02926
}

Semantic roles & 50–950 ramp

primary
#2F3211
secondary
#39346B
accent
#4FD95C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2F3211

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

Preview Lab → · Contrast checker → · Palette generator →

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