#2F3306#2F3306

#2F3306 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#2F3306
RGBrgb(47, 51, 6)
HSLhsl(65, 79%, 11%)
HSVhsv(65, 88%, 20%)
CMYKcmyk(7.8%, 0%, 88.2%, 80%)
CIE-LABlab(19.98, -8.64, 25.55)
CIE-LCHlch(19.98, 26.97, 108.68°)
OKLaboklab(30.73% -0.0265 0.0578)
OKLCHoklch(30.73% 0.064 114.6)
XYZxyz(2.3891, 2.9852, 0.6226)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3306 #0A0633
analogous
#332006 #2F3306 #183306
triadic
#2F3306 #062F33 #33062F
tetradic
#2F3306 #063320 #0A0633 #330618
square
#2F3306 #063320 #0A0633 #330618
split-complementary
#2F3306 #061833 #200633
monochromatic
#191B03 #191B03 #2F3306 #616A0C #94A113

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3306#FFFFFF#000000##FFFFFF
##2F33061.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)
#373001
Deuteranopia (green-blind)
#373109
Tritanopia (blue-blind)
#332F2A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f3306;
/* rgb */ color: rgb(47, 51, 6);
/* oklch */ color: oklch(30.7% 0.064 114.6);
Tailwind
colors: {
  custom: {
    50: '#696a4a',
    500: '#2f3306',
    950: '#000000',
  },
}
SCSS
$custom: #2f3306;
$custom-light: #696a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3306",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 6
  },
  "hsl": {
    "h": 65.333,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.30725,
    "c": 0.06353,
    "h": 114.6
  },
  "luminance": 0.02985
}

Semantic roles & 50–950 ramp

primary
#2F3306
secondary
#292174
accent
#32F544
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3306

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

Preview Lab → · Contrast checker → · Palette generator →

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