#2D2901#2D2901

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

Color values

HEX#2D2901
RGBrgb(45, 41, 1)
HSLhsl(55, 96%, 9%)
HSVhsv(55, 98%, 18%)
CMYKcmyk(0%, 8.9%, 97.8%, 82.4%)
CIE-LABlab(16.24, -3.71, 23.07)
CIE-LCHlch(16.24, 23.37, 99.13°)
OKLaboklab(27.66% -0.0135 0.0556)
OKLCHoklch(27.66% 0.057 103.7)
XYZxyz(1.8807, 2.1460, 0.3439)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2901 #01052D
analogous
#2D1301 #2D2901 #1B2D01
triadic
#2D2901 #012D29 #29012D
tetradic
#2D2901 #012D13 #01052D #2D011B
square
#2D2901 #012D13 #01052D #2D011B
split-complementary
#2D2901 #011B2D #13012D
monochromatic
#1E1B01 #1E1B01 #2D2901 #696002 #A59604

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D2901#FFFFFF#000000##FFFFFF
##2D29011.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)
#2F2903
Tritanopia (blue-blind)
#312521
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d2901;
/* rgb */ color: rgb(45, 41, 1);
/* oklch */ color: oklch(27.7% 0.057 103.7);
Tailwind
colors: {
  custom: {
    50: '#676247',
    500: '#2d2901',
    950: '#000000',
  },
}
SCSS
$custom: #2d2901;
$custom-light: #676247;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2901",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 1
  },
  "hsl": {
    "h": 54.545,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.27663,
    "c": 0.05718,
    "h": 103.7
  },
  "luminance": 0.02146
}

Semantic roles & 50–950 ramp

primary
#2D2901
secondary
#171F73
accent
#3CFF29
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2D2901

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

Preview Lab → · Contrast checker → · Palette generator →

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