#2F2C05#2F2C05

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

Color values

HEX#2F2C05
RGBrgb(47, 44, 5)
HSLhsl(56, 81%, 10%)
HSVhsv(56, 89%, 18%)
CMYKcmyk(0%, 6.4%, 89.4%, 81.6%)
CIE-LABlab(17.54, -4.25, 23.09)
CIE-LCHlch(17.54, 23.48, 100.42°)
OKLaboklab(28.77% -0.0144 0.0539)
OKLCHoklch(28.77% 0.056 105)
XYZxyz(2.1005, 2.4167, 0.4994)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C05 #05082F
analogous
#2F1705 #2F2C05 #1D2F05
triadic
#2F2C05 #052F2C #2C052F
tetradic
#2F2C05 #052F17 #05082F #2F051D
square
#2F2C05 #052F17 #05082F #2F051D
split-complementary
#2F2C05 #051D2F #17052F
monochromatic
#1C1A03 #1C1A03 #2F2C05 #66600B #9E9411

Accessibility & contrast

On white

14.16
#2F2C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2C05
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C05#FFFFFF#000000##FFFFFF
##2F2C051.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A01
Deuteranopia (green-blind)
#322C07
Tritanopia (blue-blind)
#332824
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2f2c05;
/* rgb */ color: rgb(47, 44, 5);
/* oklch */ color: oklch(28.8% 0.056 105.0);
Tailwind
colors: {
  custom: {
    50: '#696449',
    500: '#2f2c05',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c05;
$custom-light: #696449;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c05",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 5
  },
  "hsl": {
    "h": 55.714,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.28767,
    "c": 0.05574,
    "h": 105
  },
  "luminance": 0.02417
}

Semantic roles & 50–950 ramp

primary
#2F2C05
secondary
#1F2571
accent
#3FF731
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2F2C05

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

Preview Lab → · Contrast checker → · Palette generator →

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