#2F2902#2F2902

#2F2902 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.9% C 0.056 H 100.4°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#2F2902
RGBrgb(47, 41, 2)
HSLhsl(52, 92%, 10%)
HSVhsv(52, 96%, 18%)
CMYKcmyk(0%, 12.8%, 95.7%, 81.6%)
CIE-LABlab(16.48, -2.50, 23.02)
CIE-LCHlch(16.48, 23.15, 96.19°)
OKLaboklab(27.91% -0.0101 0.0549)
OKLCHoklch(27.91% 0.056 100.4)
XYZxyz(1.9763, 2.1947, 0.3769)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2902 #02082F
analogous
#2F1302 #2F2902 #1F2F02
triadic
#2F2902 #022F29 #29022F
tetradic
#2F2902 #022F13 #02082F #2F021F
square
#2F2902 #022F13 #02082F #2F021F
split-complementary
#2F2902 #021F2F #13022F
monochromatic
#1D1A01 #1D1A01 #2F2902 #6A5C04 #A48F07

Accessibility & contrast

On white

14.59
#2F2902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2F2902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2902
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2902#FFFFFF#000000##FFFFFF
##2F29021.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#302A04
Tritanopia (blue-blind)
#342522
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2f2902;
/* rgb */ color: rgb(47, 41, 2);
/* oklch */ color: oklch(27.9% 0.056 100.4);
Tailwind
colors: {
  custom: {
    50: '#696248',
    500: '#2f2902',
    950: '#000000',
  },
}
SCSS
$custom: #2f2902;
$custom-light: #696248;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2902",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 2
  },
  "hsl": {
    "h": 52,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27914,
    "c": 0.05585,
    "h": 100.4
  },
  "luminance": 0.02195
}

Semantic roles & 50–950 ramp

primary
#2F2902
secondary
#192574
accent
#45FF29
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2F2902

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

Preview Lab → · Contrast checker → · Palette generator →

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