#2F3305#2F3305

#2F3305 is a dark, moderate yellow. Relative luminance 0.030; OKLCH L 30.7% C 0.064 H 114.6°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#2F3305
RGBrgb(47, 51, 5)
HSLhsl(65, 82%, 11%)
HSVhsv(65, 90%, 20%)
CMYKcmyk(7.8%, 0%, 90.2%, 80%)
CIE-LABlab(19.98, -8.71, 25.95)
CIE-LCHlch(19.98, 27.37, 108.56°)
OKLaboklab(30.71% -0.0268 0.0586)
OKLCHoklch(30.71% 0.064 114.6)
XYZxyz(2.3836, 2.9830, 0.5938)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3305 #090533
analogous
#332005 #2F3305 #183305
triadic
#2F3305 #052F33 #33052F
tetradic
#2F3305 #053320 #090533 #330518
square
#2F3305 #053320 #090533 #330518
split-complementary
#2F3305 #051833 #200533
monochromatic
#1A1C03 #1A1C03 #2F3305 #626B0A #96A210

Accessibility & contrast

On white

13.15
#2F3305 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3305
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3305#FFFFFF#000000##FFFFFF
##2F33051.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373000
Deuteranopia (green-blind)
#373108
Tritanopia (blue-blind)
#332F2A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f3305;
/* rgb */ color: rgb(47, 51, 5);
/* oklch */ color: oklch(30.7% 0.064 114.6);
Tailwind
colors: {
  custom: {
    50: '#696a4a',
    500: '#2f3305',
    950: '#000000',
  },
}
SCSS
$custom: #2f3305;
$custom-light: #696a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3305",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 5
  },
  "hsl": {
    "h": 65.217,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.30715,
    "c": 0.06445,
    "h": 114.6
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#2F3305
secondary
#271F74
accent
#2FF841
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3305

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

Preview Lab → · Contrast checker → · Palette generator →

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