#2F2C07#2F2C07

#2F2C07 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.8% C 0.054 H 104.7°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#2F2C07
RGBrgb(47, 44, 7)
HSLhsl(56, 74%, 11%)
HSVhsv(56, 85%, 18%)
CMYKcmyk(0%, 6.4%, 85.1%, 81.6%)
CIE-LABlab(17.56, -4.09, 22.30)
CIE-LCHlch(17.56, 22.68, 100.39°)
OKLaboklab(28.79% -0.0136 0.052)
OKLCHoklch(28.79% 0.054 104.7)
XYZxyz(2.1114, 2.4211, 0.5571)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C07 #070A2F
analogous
#2F1807 #2F2C07 #1E2F07
triadic
#2F2C07 #072F2C #2C072F
tetradic
#2F2C07 #072F18 #070A2F #2F071E
square
#2F2C07 #072F18 #070A2F #2F071E
split-complementary
#2F2C07 #071E2F #18072F
monochromatic
#1B1904 #1B1904 #2F2C07 #645E0F #9A9017

Accessibility & contrast

On white

14.15
#2F2C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2F2C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2C07
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C07#FFFFFF#000000##FFFFFF
##2F2C071.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A03
Deuteranopia (green-blind)
#322C09
Tritanopia (blue-blind)
#332825
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2f2c07;
/* rgb */ color: rgb(47, 44, 7);
/* oklch */ color: oklch(28.8% 0.054 104.7);
Tailwind
colors: {
  custom: {
    50: '#69644a',
    500: '#2f2c07',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c07;
$custom-light: #69644a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c07",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 55.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28789,
    "c": 0.05371,
    "h": 104.7
  },
  "luminance": 0.02421
}

Semantic roles & 50–950 ramp

primary
#2F2C07
secondary
#23296F
accent
#45F137
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2F2C07

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

Preview Lab → · Contrast checker → · Palette generator →

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