#2D2C02#2D2C02

#2D2C02 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.5% C 0.059 H 108.2°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#2D2C02
RGBrgb(45, 44, 2)
HSLhsl(59, 91%, 9%)
HSVhsv(59, 96%, 18%)
CMYKcmyk(0%, 2.2%, 95.6%, 82.4%)
CIE-LABlab(17.29, -5.60, 23.97)
CIE-LCHlch(17.29, 24.61, 103.14°)
OKLaboklab(28.51% -0.0186 0.0564)
OKLCHoklch(28.51% 0.059 108.2)
XYZxyz(1.9939, 2.3637, 0.4086)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C02 #02032D
analogous
#2D1702 #2D2C02 #192D02
triadic
#2D2C02 #022D2C #2C022D
tetradic
#2D2C02 #022D17 #02032D #2D0219
square
#2D2C02 #022D17 #02032D #2D0219
split-complementary
#2D2C02 #02192D #17022D
monochromatic
#1D1D01 #1D1D01 #2D2C02 #686505 #A29F07

Accessibility & contrast

On white

14.26
#2D2C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2D2C02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C02
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C02#FFFFFF#000000##FFFFFF
##2D2C021.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#312B04
Tritanopia (blue-blind)
#312824
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2d2c02;
/* rgb */ color: rgb(45, 44, 2);
/* oklch */ color: oklch(28.5% 0.059 108.2);
Tailwind
colors: {
  custom: {
    50: '#676448',
    500: '#2d2c02',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c02;
$custom-light: #676448;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c02",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 2
  },
  "hsl": {
    "h": 58.605,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.28507,
    "c": 0.05933,
    "h": 108.2
  },
  "luminance": 0.02364
}

Semantic roles & 50–950 ramp

primary
#2D2C02
secondary
#191B72
accent
#2EFF29
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060500
muted
#7A7A77

Preview Lab

Preview with #2D2C02

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

Preview Lab → · Contrast checker → · Palette generator →

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