#2D300B#2D300B

#2D300B is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.7% C 0.056 H 113.7°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#2D300B
RGBrgb(45, 48, 11)
HSLhsl(65, 63%, 12%)
HSVhsv(65, 77%, 19%)
CMYKcmyk(6.2%, 0%, 77.1%, 81.2%)
CIE-LABlab(18.78, -7.44, 22.07)
CIE-LCHlch(18.78, 23.29, 108.63°)
OKLaboklab(29.73% -0.0223 0.0508)
OKLCHoklch(29.73% 0.056 113.7)
XYZxyz(2.1996, 2.6960, 0.7211)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D300B #0E0B30
analogous
#30210B #2D300B #1B300B
triadic
#2D300B #0B2D30 #300B2D
tetradic
#2D300B #0B3021 #0E0B30 #300B1B
square
#2D300B #0B3021 #0E0B30 #300B1B
split-complementary
#2D300B #0B1B30 #210B30
monochromatic
#171906 #171906 #2D300B #5C6216 #8A9422

Accessibility & contrast

On white

13.64
#2D300B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2D300B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D300B
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D300B#FFFFFF#000000##FFFFFF
##2D300B1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D07
Deuteranopia (green-blind)
#342E0D
Tritanopia (blue-blind)
#302D28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d300b;
/* rgb */ color: rgb(45, 48, 11);
/* oklch */ color: oklch(29.7% 0.056 113.7);
Tailwind
colors: {
  custom: {
    50: '#67684c',
    500: '#2d300b',
    950: '#000000',
  },
}
SCSS
$custom: #2d300b;
$custom-light: #67684c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d300b",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 11
  },
  "hsl": {
    "h": 64.865,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29729,
    "c": 0.05552,
    "h": 113.7
  },
  "luminance": 0.02696
}

Semantic roles & 50–950 ramp

primary
#2D300B
secondary
#302A6D
accent
#42E64F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D300B

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

Preview Lab → · Contrast checker → · Palette generator →

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