#2F2A03#2F2A03

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

Color values

HEX#2F2A03
RGBrgb(47, 42, 3)
HSLhsl(53, 88%, 10%)
HSVhsv(53, 94%, 18%)
CMYKcmyk(0%, 10.6%, 93.6%, 81.6%)
CIE-LABlab(16.83, -3.08, 23.05)
CIE-LCHlch(16.83, 23.25, 97.62°)
OKLaboklab(28.2% -0.0115 0.0545)
OKLCHoklch(28.2% 0.056 101.9)
XYZxyz(2.0168, 2.2669, 0.4175)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A03 #03082F
analogous
#2F1403 #2F2A03 #1E2F03
triadic
#2F2A03 #032F2A #2A032F
tetradic
#2F2A03 #032F14 #03082F #2F031E
square
#2F2A03 #032F14 #03082F #2F031E
split-complementary
#2F2A03 #031E2F #14032F
monochromatic
#1D1A02 #1D1A02 #2F2A03 #695D07 #A2910A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F2A03#FFFFFF#000000##FFFFFF
##2F2A031.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)
#312A05
Tritanopia (blue-blind)
#342623
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f2a03;
/* rgb */ color: rgb(47, 42, 3);
/* oklch */ color: oklch(28.2% 0.056 101.9);
Tailwind
colors: {
  custom: {
    50: '#696348',
    500: '#2f2a03',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a03;
$custom-light: #696348;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a03",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 3
  },
  "hsl": {
    "h": 53.182,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.28197,
    "c": 0.05573,
    "h": 101.9
  },
  "luminance": 0.02267
}

Semantic roles & 50–950 ramp

primary
#2F2A03
secondary
#1B2573
accent
#42FE2A
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2F2A03

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

Preview Lab → · Contrast checker → · Palette generator →

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