#2F3304#2F3304

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

Color values

HEX#2F3304
RGBrgb(47, 51, 4)
HSLhsl(65, 85%, 11%)
HSVhsv(65, 92%, 20%)
CMYKcmyk(7.8%, 0%, 92.2%, 80%)
CIE-LABlab(19.97, -8.79, 26.35)
CIE-LCHlch(19.97, 27.77, 108.45°)
OKLaboklab(30.71% -0.0272 0.0595)
OKLCHoklch(30.71% 0.065 114.6)
XYZxyz(2.3781, 2.9808, 0.5649)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3304 #080433
analogous
#331F04 #2F3304 #173304
triadic
#2F3304 #042F33 #33042F
tetradic
#2F3304 #04331F #080433 #330417
square
#2F3304 #04331F #080433 #330417
split-complementary
#2F3304 #041733 #1F0433
monochromatic
#1A1C02 #1A1C02 #2F3304 #636C08 #98A40D

Accessibility & contrast

On white

13.16
#2F3304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3304
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3304#FFFFFF#000000##FFFFFF
##2F33041.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3304;
/* rgb */ color: rgb(47, 51, 4);
/* oklch */ color: oklch(30.7% 0.065 114.6);
Tailwind
colors: {
  custom: {
    50: '#696a49',
    500: '#2f3304',
    950: '#000000',
  },
}
SCSS
$custom: #2f3304;
$custom-light: #696a49;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3304",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 4
  },
  "hsl": {
    "h": 65.106,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.30705,
    "c": 0.06537,
    "h": 114.6
  },
  "luminance": 0.02981
}

Semantic roles & 50–950 ramp

primary
#2F3304
secondary
#251D75
accent
#2CFC3E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3304

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

Preview Lab → · Contrast checker → · Palette generator →

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