#2F2A02#2F2A02

#2F2A02 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.2% C 0.057 H 102.1°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#2F2A02
RGBrgb(47, 42, 2)
HSLhsl(53, 92%, 10%)
HSVhsv(53, 96%, 18%)
CMYKcmyk(0%, 10.6%, 95.7%, 81.6%)
CIE-LABlab(16.82, -3.16, 23.44)
CIE-LCHlch(16.82, 23.65, 97.69°)
OKLaboklab(28.19% -0.0119 0.0556)
OKLCHoklch(28.19% 0.057 102.1)
XYZxyz(2.0113, 2.2647, 0.3886)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A02 #02072F
analogous
#2F1402 #2F2A02 #1E2F02
triadic
#2F2A02 #022F2A #2A022F
tetradic
#2F2A02 #022F14 #02072F #2F021E
square
#2F2A02 #022F14 #02072F #2F021E
split-complementary
#2F2A02 #021E2F #14022F
monochromatic
#1D1A01 #1D1A01 #2F2A02 #6A5E04 #A49307

Accessibility & contrast

On white

14.45
#2F2A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2F2A02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2A02
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A02#FFFFFF#000000##FFFFFF
##2F2A021.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#312A04
Tritanopia (blue-blind)
#342622
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2f2a02;
/* rgb */ color: rgb(47, 42, 2);
/* oklch */ color: oklch(28.2% 0.057 102.1);
Tailwind
colors: {
  custom: {
    50: '#696348',
    500: '#2f2a02',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a02;
$custom-light: #696348;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a02",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 2
  },
  "hsl": {
    "h": 53.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.28185,
    "c": 0.05682,
    "h": 102.1
  },
  "luminance": 0.02265
}

Semantic roles & 50–950 ramp

primary
#2F2A02
secondary
#192374
accent
#41FF29
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2F2A02

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

Preview Lab → · Contrast checker → · Palette generator →

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