#2D2D02#2D2D02

#2D2D02 is a dark, moderate yellow. Relative luminance 0.024; OKLCH L 28.8% C 0.061 H 109.7°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#2D2D02
RGBrgb(45, 45, 2)
HSLhsl(60, 91%, 9%)
HSVhsv(60, 96%, 18%)
CMYKcmyk(0%, 0%, 95.6%, 82.4%)
CIE-LABlab(17.64, -6.24, 24.39)
CIE-LCHlch(17.64, 25.18, 104.36°)
OKLaboklab(28.79% -0.0204 0.057)
OKLCHoklch(28.79% 0.061 109.7)
XYZxyz(2.0316, 2.4391, 0.4212)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D02 #02022D
analogous
#2D1802 #2D2D02 #182D02
triadic
#2D2D02 #022D2D #2D022D
tetradic
#2D2D02 #022D18 #02022D #2D0218
square
#2D2D02 #022D18 #02022D #2D0218
split-complementary
#2D2D02 #02182D #18022D
monochromatic
#1D1D01 #1D1D01 #2D2D02 #686805 #A2A207

Accessibility & contrast

On white

14.11
#2D2D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2D2D02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2D02
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D02#FFFFFF#000000##FFFFFF
##2D2D021.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#322C05
Tritanopia (blue-blind)
#312925
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2d2d02;
/* rgb */ color: rgb(45, 45, 2);
/* oklch */ color: oklch(28.8% 0.061 109.7);
Tailwind
colors: {
  custom: {
    50: '#676548',
    500: '#2d2d02',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d02;
$custom-light: #676548;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d02",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 2
  },
  "hsl": {
    "h": 60,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.28787,
    "c": 0.06051,
    "h": 109.7
  },
  "luminance": 0.02439
}

Semantic roles & 50–950 ramp

primary
#2D2D02
secondary
#191972
accent
#29FF29
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060500
muted
#7A7A77

Preview Lab

Preview with #2D2D02

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

Preview Lab → · Contrast checker → · Palette generator →

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