#2F2B02#2F2B02

#2F2B02 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.5% C 0.058 H 103.8°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#2F2B02
RGBrgb(47, 43, 2)
HSLhsl(55, 92%, 10%)
HSVhsv(55, 96%, 18%)
CMYKcmyk(0%, 8.5%, 95.7%, 81.6%)
CIE-LABlab(17.16, -3.83, 23.86)
CIE-LCHlch(17.16, 24.17, 99.11°)
OKLaboklab(28.46% -0.0138 0.0562)
OKLCHoklch(28.46% 0.058 103.8)
XYZxyz(2.0472, 2.3366, 0.4006)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B02 #02062F
analogous
#2F1502 #2F2B02 #1D2F02
triadic
#2F2B02 #022F2B #2B022F
tetradic
#2F2B02 #022F15 #02062F #2F021D
square
#2F2B02 #022F15 #02062F #2F021D
split-complementary
#2F2B02 #021D2F #15022F
monochromatic
#1D1B01 #1D1B01 #2F2B02 #6A6104 #A49607

Accessibility & contrast

On white

14.31
#2F2B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2F2B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B02
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B02#FFFFFF#000000##FFFFFF
##2F2B021.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#312B04
Tritanopia (blue-blind)
#342723
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f2b02;
/* rgb */ color: rgb(47, 43, 2);
/* oklch */ color: oklch(28.5% 0.058 103.8);
Tailwind
colors: {
  custom: {
    50: '#696448',
    500: '#2f2b02',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b02;
$custom-light: #696448;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b02",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 2
  },
  "hsl": {
    "h": 54.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.28458,
    "c": 0.05784,
    "h": 103.8
  },
  "luminance": 0.02336
}

Semantic roles & 50–950 ramp

primary
#2F2B02
secondary
#192174
accent
#3CFF29
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2F2B02

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

Preview Lab → · Contrast checker → · Palette generator →

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