#2F2B08#2F2B08

#2F2B08 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.5% C 0.052 H 102.7°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#2F2B08
RGBrgb(47, 43, 8)
HSLhsl(54, 71%, 11%)
HSVhsv(54, 83%, 18%)
CMYKcmyk(0%, 8.5%, 83%, 81.6%)
CIE-LABlab(17.22, -3.35, 21.49)
CIE-LCHlch(17.22, 21.75, 98.87°)
OKLaboklab(28.53% -0.0114 0.0503)
OKLCHoklch(28.53% 0.052 102.7)
XYZxyz(2.0801, 2.3497, 0.5737)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B08 #080C2F
analogous
#2F1708 #2F2B08 #1F2F08
triadic
#2F2B08 #082F2B #2B082F
tetradic
#2F2B08 #082F17 #080C2F #2F081F
square
#2F2B08 #082F17 #080C2F #2F081F
split-complementary
#2F2B08 #081F2F #17082F
monochromatic
#1A1804 #1A1804 #2F2B08 #635B11 #988B1A

Accessibility & contrast

On white

14.29
#2F2B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2F2B08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B08
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B08#FFFFFF#000000##FFFFFF
##2F2B081.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302904
Deuteranopia (green-blind)
#312B0A
Tritanopia (blue-blind)
#332724
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f2b08;
/* rgb */ color: rgb(47, 43, 8);
/* oklch */ color: oklch(28.5% 0.052 102.7);
Tailwind
colors: {
  custom: {
    50: '#69644a',
    500: '#2f2b08',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b08;
$custom-light: #69644a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b08",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 8
  },
  "hsl": {
    "h": 53.846,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28527,
    "c": 0.05155,
    "h": 102.7
  },
  "luminance": 0.0235
}

Semantic roles & 50–950 ramp

primary
#2F2B08
secondary
#252C6E
accent
#4DEE3A
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2B08

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

Preview Lab → · Contrast checker → · Palette generator →

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