#2D2902#2D2902

#2D2902 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.7% C 0.056 H 103.5°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#2D2902
RGBrgb(45, 41, 2)
HSLhsl(54, 91%, 9%)
HSVhsv(54, 96%, 18%)
CMYKcmyk(0%, 8.9%, 95.6%, 82.4%)
CIE-LABlab(16.25, -3.62, 22.68)
CIE-LCHlch(16.25, 22.97, 99.08°)
OKLaboklab(27.68% -0.0131 0.0545)
OKLCHoklch(27.68% 0.056 103.5)
XYZxyz(1.8862, 2.1482, 0.3727)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2902 #02062D
analogous
#2D1402 #2D2902 #1C2D02
triadic
#2D2902 #022D29 #29022D
tetradic
#2D2902 #022D14 #02062D #2D021C
square
#2D2902 #022D14 #02062D #2D021C
split-complementary
#2D2902 #021C2D #14022D
monochromatic
#1D1B01 #1D1B01 #2D2902 #685E05 #A29407

Accessibility & contrast

On white

14.69
#2D2902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2D2902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2902
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2902#FFFFFF#000000##FFFFFF
##2D29021.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2F2904
Tritanopia (blue-blind)
#312522
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d2902;
/* rgb */ color: rgb(45, 41, 2);
/* oklch */ color: oklch(27.7% 0.056 103.5);
Tailwind
colors: {
  custom: {
    50: '#676248',
    500: '#2d2902',
    950: '#000000',
  },
}
SCSS
$custom: #2d2902;
$custom-light: #676248;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2902",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 2
  },
  "hsl": {
    "h": 54.419,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27675,
    "c": 0.05601,
    "h": 103.5
  },
  "luminance": 0.02148
}

Semantic roles & 50–950 ramp

primary
#2D2902
secondary
#192172
accent
#3DFF29
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2D2902

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

Preview Lab → · Contrast checker → · Palette generator →

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