#2F2F0C#2F2F0C

#2F2F0C is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.7% C 0.053 H 109.2°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#2F2F0C
RGBrgb(47, 47, 12)
HSLhsl(60, 59%, 12%)
HSVhsv(60, 74%, 18%)
CMYKcmyk(0%, 0%, 74.5%, 81.6%)
CIE-LABlab(18.64, -5.65, 21.52)
CIE-LCHlch(18.64, 22.25, 104.72°)
OKLaboklab(29.67% -0.0173 0.0497)
OKLCHoklch(29.67% 0.053 109.2)
XYZxyz(2.2552, 2.6640, 0.7432)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F0C #0C0C2F
analogous
#2F1E0C #2F2F0C #1E2F0C
triadic
#2F2F0C #0C2F2F #2F0C2F
tetradic
#2F2F0C #0C2F1E #0C0C2F #2F0C1E
square
#2F2F0C #0C2F1E #0C0C2F #2F0C1E
split-complementary
#2F2F0C #0C1E2F #1E0C2F
monochromatic
#181806 #181806 #2F2F0C #606018 #919125

Accessibility & contrast

On white

13.70
#2F2F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2F0C
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F0C#FFFFFF#000000##FFFFFF
##2F2F0C1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D08
Deuteranopia (green-blind)
#342E0E
Tritanopia (blue-blind)
#332C28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2f2f0c;
/* rgb */ color: rgb(47, 47, 12);
/* oklch */ color: oklch(29.7% 0.053 109.2);
Tailwind
colors: {
  custom: {
    50: '#69674d',
    500: '#2f2f0c',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f0c;
$custom-light: #69674d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f0c",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 12
  },
  "hsl": {
    "h": 60,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29671,
    "c": 0.05258,
    "h": 109.2
  },
  "luminance": 0.02664
}

Semantic roles & 50–950 ramp

primary
#2F2F0C
secondary
#2C2C6B
accent
#45E345
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F2F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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