#2C2F0B#2C2F0B

#2C2F0B is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.3% C 0.054 H 113.8°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#2C2F0B
RGBrgb(44, 47, 11)
HSLhsl(65, 62%, 11%)
HSVhsv(65, 77%, 18%)
CMYKcmyk(6.4%, 0%, 76.6%, 81.6%)
CIE-LABlab(18.33, -7.34, 21.52)
CIE-LCHlch(18.33, 22.73, 108.82°)
OKLaboklab(29.34% -0.022 0.0498)
OKLCHoklch(29.34% 0.054 113.8)
XYZxyz(2.1157, 2.5927, 0.7055)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2F0B #0E0B2F
analogous
#2F200B #2C2F0B #1A2F0B
triadic
#2C2F0B #0B2C2F #2F0B2C
tetradic
#2C2F0B #0B2F20 #0E0B2F #2F0B1A
square
#2C2F0B #0B2F20 #0E0B2F #2F0B1A
split-complementary
#2C2F0B #0B1A2F #200B2F
monochromatic
#171906 #171906 #2C2F0B #5A6117 #899222

Accessibility & contrast

On white

13.83
#2C2F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2C2F0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2F0B
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2F0B#FFFFFF#000000##FFFFFF
##2C2F0B1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C07
Deuteranopia (green-blind)
#332D0D
Tritanopia (blue-blind)
#2F2C28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2c2f0b;
/* rgb */ color: rgb(44, 47, 11);
/* oklch */ color: oklch(29.3% 0.054 113.8);
Tailwind
colors: {
  custom: {
    50: '#66674c',
    500: '#2c2f0b',
    950: '#000000',
  },
}
SCSS
$custom: #2c2f0b;
$custom-light: #66674c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2f0b",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 65,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29344,
    "c": 0.05443,
    "h": 113.8
  },
  "luminance": 0.02593
}

Semantic roles & 50–950 ramp

primary
#2C2F0B
secondary
#302A6B
accent
#43E550
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2C2F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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