#2F3508#2F3508

#2F3508 is a dark, moderate yellow. Relative luminance 0.032; OKLCH L 31.3% C 0.065 H 116.9°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#2F3508
RGBrgb(47, 53, 8)
HSLhsl(68, 74%, 12%)
HSVhsv(68, 85%, 21%)
CMYKcmyk(11.3%, 0%, 84.9%, 79.2%)
CIE-LABlab(20.70, -9.73, 25.54)
CIE-LCHlch(20.70, 27.33, 110.85°)
OKLaboklab(31.31% -0.0292 0.0575)
OKLCHoklch(31.31% 0.065 116.9)
XYZxyz(2.4893, 3.1681, 0.7101)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3508 #0E0835
analogous
#352508 #2F3508 #193508
triadic
#2F3508 #082F35 #35082F
tetradic
#2F3508 #083525 #0E0835 #350819
square
#2F3508 #083525 #0E0835 #350819
split-complementary
#2F3508 #081935 #250835
monochromatic
#181B04 #181B04 #2F3508 #5E6A10 #8D9F18

Accessibility & contrast

On white

12.86
#2F3508 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2F3508 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3508
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3508#FFFFFF#000000##FFFFFF
##2F35081.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393202
Deuteranopia (green-blind)
#39320C
Tritanopia (blue-blind)
#33312C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f3508;
/* rgb */ color: rgb(47, 53, 8);
/* oklch */ color: oklch(31.3% 0.065 116.9);
Tailwind
colors: {
  custom: {
    50: '#696c4b',
    500: '#2f3508',
    950: '#000000',
  },
}
SCSS
$custom: #2f3508;
$custom-light: #696c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3508",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 8
  },
  "hsl": {
    "h": 68,
    "s": 73.77,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31309,
    "c": 0.06453,
    "h": 116.9
  },
  "luminance": 0.03168
}

Semantic roles & 50–950 ramp

primary
#2F3508
secondary
#2F2574
accent
#37F050
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3508

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

Preview Lab → · Contrast checker → · Palette generator →

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