#2F2D04#2F2D04

#2F2D04 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.0% C 0.058 H 106.7°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#2F2D04
RGBrgb(47, 45, 4)
HSLhsl(57, 84%, 10%)
HSVhsv(57, 91%, 18%)
CMYKcmyk(0%, 4.3%, 91.5%, 81.6%)
CIE-LABlab(17.87, -4.98, 23.91)
CIE-LCHlch(17.87, 24.42, 101.77°)
OKLaboklab(29.03% -0.0166 0.0555)
OKLCHoklch(29.03% 0.058 106.7)
XYZxyz(2.1327, 2.4900, 0.4831)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D04 #04062F
analogous
#2F1704 #2F2D04 #1C2F04
triadic
#2F2D04 #042F2D #2D042F
tetradic
#2F2D04 #042F17 #04062F #2F041C
square
#2F2D04 #042F17 #04062F #2F041C
split-complementary
#2F2D04 #041C2F #17042F
monochromatic
#1C1B02 #1C1B02 #2F2D04 #676309 #A0990E

Accessibility & contrast

On white

14.02
#2F2D04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2F2D04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D04
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D04#FFFFFF#000000##FFFFFF
##2F2D041.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#332C06
Tritanopia (blue-blind)
#332925
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2f2d04;
/* rgb */ color: rgb(47, 45, 4);
/* oklch */ color: oklch(29.0% 0.058 106.7);
Tailwind
colors: {
  custom: {
    50: '#696549',
    500: '#2f2d04',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d04;
$custom-light: #696549;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d04",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 4
  },
  "hsl": {
    "h": 57.209,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.2903,
    "c": 0.05791,
    "h": 106.7
  },
  "luminance": 0.0249
}

Semantic roles & 50–950 ramp

primary
#2F2D04
secondary
#1D2172
accent
#37FB2D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2F2D04

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

Preview Lab → · Contrast checker → · Palette generator →

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