#2F3108#2F3108

#2F3108 is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.2% C 0.059 H 112.2°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#2F3108
RGBrgb(47, 49, 8)
HSLhsl(63, 72%, 11%)
HSVhsv(63, 84%, 19%)
CMYKcmyk(4.1%, 0%, 83.7%, 80.8%)
CIE-LABlab(19.30, -7.24, 23.96)
CIE-LCHlch(19.30, 25.03, 106.81°)
OKLaboklab(30.18% -0.0223 0.0546)
OKLCHoklch(30.18% 0.059 112.2)
XYZxyz(2.3145, 2.8185, 0.6518)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3108 #0A0831
analogous
#311E08 #2F3108 #1A3108
triadic
#2F3108 #082F31 #31082F
tetradic
#2F3108 #08311E #0A0831 #31081A
square
#2F3108 #08311E #0A0831 #31081A
split-complementary
#2F3108 #081A31 #1E0831
monochromatic
#191A04 #191A04 #2F3108 #616611 #949A19

Accessibility & contrast

On white

13.43
#2F3108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2F3108 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3108
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3108#FFFFFF#000000##FFFFFF
##2F31081.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E03
Deuteranopia (green-blind)
#362F0B
Tritanopia (blue-blind)
#332D29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2f3108;
/* rgb */ color: rgb(47, 49, 8);
/* oklch */ color: oklch(30.2% 0.059 112.2);
Tailwind
colors: {
  custom: {
    50: '#69684b',
    500: '#2f3108',
    950: '#000000',
  },
}
SCSS
$custom: #2f3108;
$custom-light: #69684b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3108",
  "rgb": {
    "r": 47,
    "g": 49,
    "b": 8
  },
  "hsl": {
    "h": 62.927,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.30184,
    "c": 0.05902,
    "h": 112.2
  },
  "luminance": 0.02818
}

Semantic roles & 50–950 ramp

primary
#2F3108
secondary
#292570
accent
#39EF42
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3108

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

Preview Lab → · Contrast checker → · Palette generator →

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