#2F2F08#2F2F08

#2F2F08 is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.6% C 0.056 H 109.4°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#2F2F08
RGBrgb(47, 47, 8)
HSLhsl(60, 71%, 11%)
HSVhsv(60, 83%, 18%)
CMYKcmyk(0%, 0%, 83%, 81.6%)
CIE-LABlab(18.61, -5.96, 23.15)
CIE-LCHlch(18.61, 23.90, 104.45°)
OKLaboklab(29.63% -0.0187 0.0532)
OKLCHoklch(29.63% 0.056 109.4)
XYZxyz(2.2327, 2.6550, 0.6245)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F08 #08082F
analogous
#2F1B08 #2F2F08 #1B2F08
triadic
#2F2F08 #082F2F #2F082F
tetradic
#2F2F08 #082F1B #08082F #2F081B
square
#2F2F08 #082F1B #08082F #2F081B
split-complementary
#2F2F08 #081B2F #1B082F
monochromatic
#1A1A04 #1A1A04 #2F2F08 #636311 #98981A

Accessibility & contrast

On white

13.72
#2F2F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2F2F08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2F08
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F08#FFFFFF#000000##FFFFFF
##2F2F081.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D04
Deuteranopia (green-blind)
#342E0B
Tritanopia (blue-blind)
#332B27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2f2f08;
/* rgb */ color: rgb(47, 47, 8);
/* oklch */ color: oklch(29.6% 0.056 109.4);
Tailwind
colors: {
  custom: {
    50: '#69674b',
    500: '#2f2f08',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f08;
$custom-light: #69674b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f08",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 60,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.29627,
    "c": 0.0564,
    "h": 109.4
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#2F2F08
secondary
#25256E
accent
#3AEE3A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F2F08

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

Preview Lab → · Contrast checker → · Palette generator →

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