#2F2C02#2F2C02

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

Color values

HEX#2F2C02
RGBrgb(47, 44, 2)
HSLhsl(56, 92%, 10%)
HSVhsv(56, 96%, 18%)
CMYKcmyk(0%, 6.4%, 95.7%, 81.6%)
CIE-LABlab(17.51, -4.48, 24.28)
CIE-LCHlch(17.51, 24.69, 100.46°)
OKLaboklab(28.73% -0.0156 0.0568)
OKLCHoklch(28.73% 0.059 105.4)
XYZxyz(2.0840, 2.4102, 0.4129)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C02 #02052F
analogous
#2F1602 #2F2C02 #1C2F02
triadic
#2F2C02 #022F2C #2C022F
tetradic
#2F2C02 #022F16 #02052F #2F021C
square
#2F2C02 #022F16 #02052F #2F021C
split-complementary
#2F2C02 #021C2F #16022F
monochromatic
#1D1B01 #1D1B01 #2F2C02 #6A6304 #A49A07

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F2C02#FFFFFF#000000##FFFFFF
##2F2C021.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)
#322C04
Tritanopia (blue-blind)
#332824
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2f2c02;
/* rgb */ color: rgb(47, 44, 2);
/* oklch */ color: oklch(28.7% 0.059 105.4);
Tailwind
colors: {
  custom: {
    50: '#696448',
    500: '#2f2c02',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c02;
$custom-light: #696448;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c02",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 2
  },
  "hsl": {
    "h": 56,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.28733,
    "c": 0.05891,
    "h": 105.4
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#2F2C02
secondary
#191F74
accent
#37FF29
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060500
muted
#7A7A77

Preview Lab

Preview with #2F2C02

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

Preview Lab → · Contrast checker → · Palette generator →

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