#2F2F07#2F2F07

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

Color values

HEX#2F2F07
RGBrgb(47, 47, 7)
HSLhsl(60, 74%, 11%)
HSVhsv(60, 85%, 18%)
CMYKcmyk(0%, 0%, 85.1%, 81.6%)
CIE-LABlab(18.60, -6.04, 23.54)
CIE-LCHlch(18.60, 24.30, 104.39°)
OKLaboklab(29.62% -0.0191 0.0541)
OKLCHoklch(29.62% 0.057 109.4)
XYZxyz(2.2272, 2.6528, 0.5957)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F07 #07072F
analogous
#2F1B07 #2F2F07 #1B2F07
triadic
#2F2F07 #072F2F #2F072F
tetradic
#2F2F07 #072F1B #07072F #2F071B
square
#2F2F07 #072F1B #07072F #2F071B
split-complementary
#2F2F07 #071B2F #1B072F
monochromatic
#1B1B04 #1B1B04 #2F2F07 #64640F #9A9A17

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F2F07#FFFFFF#000000##FFFFFF
##2F2F071.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)
#342D02
Deuteranopia (green-blind)
#342E0A
Tritanopia (blue-blind)
#332B27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2f2f07;
/* rgb */ color: rgb(47, 47, 7);
/* oklch */ color: oklch(29.6% 0.057 109.4);
Tailwind
colors: {
  custom: {
    50: '#69674a',
    500: '#2f2f07',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f07;
$custom-light: #69674a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f07",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 7
  },
  "hsl": {
    "h": 60,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.29617,
    "c": 0.05735,
    "h": 109.4
  },
  "luminance": 0.02653
}

Semantic roles & 50–950 ramp

primary
#2F2F07
secondary
#23236F
accent
#37F137
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F2F07

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

Preview Lab → · Contrast checker → · Palette generator →

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