#2D2C07#2D2C07

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

Color values

HEX#2D2C07
RGBrgb(45, 44, 7)
HSLhsl(58, 73%, 10%)
HSVhsv(58, 84%, 18%)
CMYKcmyk(0%, 2.2%, 84.4%, 82.4%)
CIE-LABlab(17.34, -5.19, 21.99)
CIE-LCHlch(17.34, 22.60, 103.28°)
OKLaboklab(28.57% -0.0166 0.0514)
OKLCHoklch(28.57% 0.054 107.8)
XYZxyz(2.0213, 2.3747, 0.5529)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C07 #07082D
analogous
#2D1907 #2D2C07 #1B2D07
triadic
#2D2C07 #072D2C #2C072D
tetradic
#2D2C07 #072D19 #07082D #2D071B
square
#2D2C07 #072D19 #07082D #2D071B
split-complementary
#2D2C07 #071B2D #19072D
monochromatic
#1A1A04 #1A1A04 #2D2C07 #62600F #979417

Accessibility & contrast

On white

14.24
#2D2C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2C07
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C07#FFFFFF#000000##FFFFFF
##2D2C071.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A03
Deuteranopia (green-blind)
#312B09
Tritanopia (blue-blind)
#312925
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2d2c07;
/* rgb */ color: rgb(45, 44, 7);
/* oklch */ color: oklch(28.6% 0.054 107.8);
Tailwind
colors: {
  custom: {
    50: '#67644a',
    500: '#2d2c07',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c07;
$custom-light: #67644a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c07",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 58.421,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.28565,
    "c": 0.05403,
    "h": 107.8
  },
  "luminance": 0.02375
}

Semantic roles & 50–950 ramp

primary
#2D2C07
secondary
#23256D
accent
#3DF038
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2D2C07

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

Preview Lab → · Contrast checker → · Palette generator →

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