#2F2C08#2F2C08

#2F2C08 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.8% C 0.053 H 104.6°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#2F2C08
RGBrgb(47, 44, 8)
HSLhsl(55, 71%, 11%)
HSVhsv(55, 83%, 18%)
CMYKcmyk(0%, 6.4%, 83%, 81.6%)
CIE-LABlab(17.57, -4.01, 21.91)
CIE-LCHlch(17.57, 22.27, 100.38°)
OKLaboklab(28.8% -0.0132 0.051)
OKLCHoklch(28.8% 0.053 104.6)
XYZxyz(2.1169, 2.4233, 0.5859)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C08 #080B2F
analogous
#2F1808 #2F2C08 #1E2F08
triadic
#2F2C08 #082F2C #2C082F
tetradic
#2F2C08 #082F18 #080B2F #2F081E
square
#2F2C08 #082F18 #080B2F #2F081E
split-complementary
#2F2C08 #081E2F #18082F
monochromatic
#1A1804 #1A1804 #2F2C08 #635D11 #988E1A

Accessibility & contrast

On white

14.15
#2F2C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2F2C08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2C08
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C08#FFFFFF#000000##FFFFFF
##2F2C081.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A04
Deuteranopia (green-blind)
#322C0A
Tritanopia (blue-blind)
#332825
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2f2c08;
/* rgb */ color: rgb(47, 44, 8);
/* oklch */ color: oklch(28.8% 0.053 104.6);
Tailwind
colors: {
  custom: {
    50: '#69644b',
    500: '#2f2c08',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c08;
$custom-light: #69644b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c08",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 8
  },
  "hsl": {
    "h": 55.385,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.288,
    "c": 0.0527,
    "h": 104.6
  },
  "luminance": 0.02423
}

Semantic roles & 50–950 ramp

primary
#2F2C08
secondary
#252B6E
accent
#48EE3A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2F2C08

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

Preview Lab → · Contrast checker → · Palette generator →

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