#2D2B02#2D2B02

#2D2B02 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.2% C 0.058 H 106.8°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#2D2B02
RGBrgb(45, 43, 2)
HSLhsl(57, 91%, 9%)
HSVhsv(57, 96%, 18%)
CMYKcmyk(0%, 4.4%, 95.6%, 82.4%)
CIE-LABlab(16.94, -4.94, 23.54)
CIE-LCHlch(16.94, 24.05, 101.86°)
OKLaboklab(28.23% -0.0168 0.0557)
OKLCHoklch(28.23% 0.058 106.8)
XYZxyz(1.9571, 2.2901, 0.3964)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B02 #02042D
analogous
#2D1602 #2D2B02 #1A2D02
triadic
#2D2B02 #022D2B #2B022D
tetradic
#2D2B02 #022D16 #02042D #2D021A
square
#2D2B02 #022D16 #02042D #2D021A
split-complementary
#2D2B02 #021A2D #16022D
monochromatic
#1D1C01 #1D1C01 #2D2B02 #686305 #A29B07

Accessibility & contrast

On white

14.40
#2D2B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2D2B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B02
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B02#FFFFFF#000000##FFFFFF
##2D2B021.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#312A04
Tritanopia (blue-blind)
#312723
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2d2b02;
/* rgb */ color: rgb(45, 43, 2);
/* oklch */ color: oklch(28.2% 0.058 106.8);
Tailwind
colors: {
  custom: {
    50: '#676448',
    500: '#2d2b02',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b02;
$custom-light: #676448;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b02",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 2
  },
  "hsl": {
    "h": 57.209,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.28229,
    "c": 0.05819,
    "h": 106.8
  },
  "luminance": 0.0229
}

Semantic roles & 50–950 ramp

primary
#2D2B02
secondary
#191D72
accent
#33FF29
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2D2B02

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

Preview Lab → · Contrast checker → · Palette generator →

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