#2F3308#2F3308

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

Color values

HEX#2F3308
RGBrgb(47, 51, 8)
HSLhsl(66, 73%, 12%)
HSVhsv(66, 84%, 20%)
CMYKcmyk(7.8%, 0%, 84.3%, 80%)
CIE-LABlab(20.00, -8.49, 24.76)
CIE-LCHlch(20.00, 26.17, 108.94°)
OKLaboklab(30.75% -0.0258 0.0561)
OKLCHoklch(30.75% 0.062 114.7)
XYZxyz(2.4000, 2.9896, 0.6803)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3308 #0C0833
analogous
#332208 #2F3308 #1A3308
triadic
#2F3308 #082F33 #33082F
tetradic
#2F3308 #083322 #0C0833 #33081A
square
#2F3308 #083322 #0C0833 #33081A
split-complementary
#2F3308 #081A33 #220833
monochromatic
#181A04 #181A04 #2F3308 #606810 #919D19

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3308#FFFFFF#000000##FFFFFF
##2F33081.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)
#373003
Deuteranopia (green-blind)
#37310B
Tritanopia (blue-blind)
#332F2B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f3308;
/* rgb */ color: rgb(47, 51, 8);
/* oklch */ color: oklch(30.7% 0.062 114.7);
Tailwind
colors: {
  custom: {
    50: '#696a4b',
    500: '#2f3308',
    950: '#000000',
  },
}
SCSS
$custom: #2f3308;
$custom-light: #696a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3308",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 8
  },
  "hsl": {
    "h": 65.581,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30745,
    "c": 0.06174,
    "h": 114.7
  },
  "luminance": 0.0299
}

Semantic roles & 50–950 ramp

primary
#2F3308
secondary
#2C2572
accent
#38F049
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3308

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

Preview Lab → · Contrast checker → · Palette generator →

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