#2F2502#2F2502

#2F2502 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.8% C 0.053 H 92.7°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#2F2502
RGBrgb(47, 37, 2)
HSLhsl(47, 92%, 10%)
HSVhsv(47, 96%, 18%)
CMYKcmyk(0%, 21.3%, 95.7%, 81.6%)
CIE-LABlab(15.13, 0.21, 21.31)
CIE-LCHlch(15.13, 21.31, 89.44°)
OKLaboklab(26.84% -0.0024 0.0525)
OKLCHoklch(26.84% 0.053 92.7)
XYZxyz(1.8449, 1.9320, 0.3332)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2502 #020C2F
analogous
#2F0F02 #2F2502 #232F02
triadic
#2F2502 #022F25 #25022F
tetradic
#2F2502 #022F0F #020C2F #2F0223
square
#2F2502 #022F0F #020C2F #2F0223
split-complementary
#2F2502 #02232F #0F022F
monochromatic
#1D1701 #1D1701 #2F2502 #6A5304 #A48107

Accessibility & contrast

On white

15.15
#2F2502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2F2502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2502
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2502#FFFFFF#000000##FFFFFF
##2F25021.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2400
Deuteranopia (green-blind)
#2D2703
Tritanopia (blue-blind)
#34211E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2f2502;
/* rgb */ color: rgb(47, 37, 2);
/* oklch */ color: oklch(26.8% 0.053 92.7);
Tailwind
colors: {
  custom: {
    50: '#695f47',
    500: '#2f2502',
    950: '#000000',
  },
}
SCSS
$custom: #2f2502;
$custom-light: #695f47;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2502",
  "rgb": {
    "r": 47,
    "g": 37,
    "b": 2
  },
  "hsl": {
    "h": 46.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26844,
    "c": 0.05255,
    "h": 92.7
  },
  "luminance": 0.01932
}

Semantic roles & 50–950 ramp

primary
#2F2502
secondary
#192D74
accent
#58FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2F2502

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

Preview Lab → · Contrast checker → · Palette generator →

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