#2F2C03#2F2C03

#2F2C03 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.7% C 0.058 H 105.2°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#2F2C03
RGBrgb(47, 44, 3)
HSLhsl(56, 88%, 10%)
HSVhsv(56, 94%, 18%)
CMYKcmyk(0%, 6.4%, 93.6%, 81.6%)
CIE-LABlab(17.52, -4.41, 23.89)
CIE-LCHlch(17.52, 24.29, 100.45°)
OKLaboklab(28.74% -0.0152 0.0558)
OKLCHoklch(28.74% 0.058 105.2)
XYZxyz(2.0895, 2.4124, 0.4417)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C03 #03062F
analogous
#2F1603 #2F2C03 #1C2F03
triadic
#2F2C03 #032F2C #2C032F
tetradic
#2F2C03 #032F16 #03062F #2F031C
square
#2F2C03 #032F16 #03062F #2F031C
split-complementary
#2F2C03 #031C2F #16032F
monochromatic
#1D1B02 #1D1B02 #2F2C03 #696207 #A2980A

Accessibility & contrast

On white

14.17
#2F2C03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2C03
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C03#FFFFFF#000000##FFFFFF
##2F2C031.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2c03;
/* rgb */ color: rgb(47, 44, 3);
/* oklch */ color: oklch(28.7% 0.058 105.2);
Tailwind
colors: {
  custom: {
    50: '#696448',
    500: '#2f2c03',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c03;
$custom-light: #696448;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c03",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 3
  },
  "hsl": {
    "h": 55.909,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.28744,
    "c": 0.05784,
    "h": 105.2
  },
  "luminance": 0.02412
}

Semantic roles & 50–950 ramp

primary
#2F2C03
secondary
#1B2173
accent
#38FE2A
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060500
muted
#7A7A77

Preview Lab

Preview with #2F2C03

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

Preview Lab → · Contrast checker → · Palette generator →

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