#2F2602#2F2602

#2F2602 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.1% C 0.053 H 94.7°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#2F2602
RGBrgb(47, 38, 2)
HSLhsl(48, 92%, 10%)
HSVhsv(48, 96%, 18%)
CMYKcmyk(0%, 19.1%, 95.7%, 81.6%)
CIE-LABlab(15.46, -0.47, 21.74)
CIE-LCHlch(15.46, 21.75, 91.25°)
OKLaboklab(27.11% -0.0044 0.0531)
OKLCHoklch(27.11% 0.053 94.7)
XYZxyz(1.8765, 1.9951, 0.3437)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2602 #020B2F
analogous
#2F1002 #2F2602 #222F02
triadic
#2F2602 #022F26 #26022F
tetradic
#2F2602 #022F10 #020B2F #2F0222
square
#2F2602 #022F10 #020B2F #2F0222
split-complementary
#2F2602 #02222F #10022F
monochromatic
#1D1801 #1D1801 #2F2602 #6A5504 #A48507

Accessibility & contrast

On white

15.01
#2F2602 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2F2602 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2602
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2602#FFFFFF#000000##FFFFFF
##2F26021.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#2E2804
Tritanopia (blue-blind)
#34221F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2f2602;
/* rgb */ color: rgb(47, 38, 2);
/* oklch */ color: oklch(27.1% 0.053 94.7);
Tailwind
colors: {
  custom: {
    50: '#696047',
    500: '#2f2602',
    950: '#000000',
  },
}
SCSS
$custom: #2f2602;
$custom-light: #696047;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2602",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 2
  },
  "hsl": {
    "h": 48,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27109,
    "c": 0.05328,
    "h": 94.7
  },
  "luminance": 0.01995
}

Semantic roles & 50–950 ramp

primary
#2F2602
secondary
#192B74
accent
#54FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2F2602

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

Preview Lab → · Contrast checker → · Palette generator →

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