#2F3309#2F3309

#2F3309 is a dark, moderate yellow. Relative luminance 0.030; OKLCH L 30.8% C 0.061 H 114.7°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#2F3309
RGBrgb(47, 51, 9)
HSLhsl(66, 70%, 12%)
HSVhsv(66, 82%, 20%)
CMYKcmyk(7.8%, 0%, 82.4%, 80%)
CIE-LABlab(20.01, -8.42, 24.36)
CIE-LCHlch(20.01, 25.77, 109.07°)
OKLaboklab(30.76% -0.0255 0.0553)
OKLCHoklch(30.76% 0.061 114.7)
XYZxyz(2.4055, 2.9918, 0.7091)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3309 #0D0933
analogous
#332209 #2F3309 #1A3309
triadic
#2F3309 #092F33 #33092F
tetradic
#2F3309 #093322 #0D0933 #33091A
square
#2F3309 #093322 #0D0933 #33091A
split-complementary
#2F3309 #091A33 #220933
monochromatic
#181A05 #181A05 #2F3309 #5F6712 #8F9B1B

Accessibility & contrast

On white

13.14
#2F3309 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2F3309 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3309
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3309#FFFFFF#000000##FFFFFF
##2F33091.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373004
Deuteranopia (green-blind)
#37310C
Tritanopia (blue-blind)
#33302B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f3309;
/* rgb */ color: rgb(47, 51, 9);
/* oklch */ color: oklch(30.8% 0.061 114.7);
Tailwind
colors: {
  custom: {
    50: '#696a4c',
    500: '#2f3309',
    950: '#000000',
  },
}
SCSS
$custom: #2f3309;
$custom-light: #696a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3309",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 9
  },
  "hsl": {
    "h": 65.714,
    "s": 70,
    "l": 11.765
  },
  "oklch": {
    "l": 0.30755,
    "c": 0.06085,
    "h": 114.7
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#2F3309
secondary
#2E2771
accent
#3BED4C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3309

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

Preview Lab → · Contrast checker → · Palette generator →

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