#2D2602#2D2602

#2D2602 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.9% C 0.053 H 98.1°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#2D2602
RGBrgb(45, 38, 2)
HSLhsl(50, 91%, 9%)
HSVhsv(50, 96%, 18%)
CMYKcmyk(0%, 15.6%, 95.6%, 82.4%)
CIE-LABlab(15.22, -1.61, 21.38)
CIE-LCHlch(15.22, 21.44, 94.31°)
OKLaboklab(26.86% -0.0074 0.0526)
OKLCHoklch(26.86% 0.053 98.1)
XYZxyz(1.7864, 1.9486, 0.3394)
Luminance0.0195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2602 #02092D
analogous
#2D1102 #2D2602 #1F2D02
triadic
#2D2602 #022D26 #26022D
tetradic
#2D2602 #022D11 #02092D #2D021F
square
#2D2602 #022D11 #02092D #2D021F
split-complementary
#2D2602 #021F2D #11022D
monochromatic
#1D1901 #1D1901 #2D2602 #685705 #A28907

Accessibility & contrast

On white

15.11
#2D2602 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2D2602 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2602
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2602#FFFFFF#000000##FFFFFF
##2D26021.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#2D2704
Tritanopia (blue-blind)
#32221F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2d2602;
/* rgb */ color: rgb(45, 38, 2);
/* oklch */ color: oklch(26.9% 0.053 98.1);
Tailwind
colors: {
  custom: {
    50: '#676047',
    500: '#2d2602',
    950: '#000000',
  },
}
SCSS
$custom: #2d2602;
$custom-light: #676047;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2602",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 2
  },
  "hsl": {
    "h": 50.233,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26856,
    "c": 0.05311,
    "h": 98.1
  },
  "luminance": 0.01948
}

Semantic roles & 50–950 ramp

primary
#2D2602
secondary
#192772
accent
#4CFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2D2602

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

Preview Lab → · Contrast checker → · Palette generator →

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