#2D3503#2D3503

#2D3503 is a dark, moderate yellow. Relative luminance 0.031; OKLCH L 31.1% C 0.070 H 118.8°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#2D3503
RGBrgb(45, 53, 3)
HSLhsl(70, 89%, 11%)
HSVhsv(70, 94%, 21%)
CMYKcmyk(15.1%, 0%, 94.3%, 79.2%)
CIE-LABlab(20.48, -11.14, 27.28)
CIE-LCHlch(20.48, 29.47, 112.21°)
OKLaboklab(31.07% -0.0337 0.0612)
OKLCHoklch(31.07% 0.07 118.8)
XYZxyz(2.3718, 3.1107, 0.5616)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3503 #0B0335
analogous
#352403 #2D3503 #143503
triadic
#2D3503 #032D35 #35032D
tetradic
#2D3503 #033524 #0B0335 #350314
square
#2D3503 #033524 #0B0335 #350314
split-complementary
#2D3503 #031435 #240335
monochromatic
#191D02 #191D02 #2D3503 #5E6F06 #8FA90A

Accessibility & contrast

On white

12.95
#2D3503 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2D3503 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3503
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3503#FFFFFF#000000##FFFFFF
##2D35031.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#383207
Tritanopia (blue-blind)
#30312C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d3503;
/* rgb */ color: rgb(45, 53, 3);
/* oklch */ color: oklch(31.1% 0.070 118.8);
Tailwind
colors: {
  custom: {
    50: '#686c49',
    500: '#2d3503',
    950: '#000000',
  },
}
SCSS
$custom: #2d3503;
$custom-light: #686c49;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3503",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 3
  },
  "hsl": {
    "h": 69.6,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.31071,
    "c": 0.06986,
    "h": 118.8
  },
  "luminance": 0.03111
}

Semantic roles & 50–950 ramp

primary
#2D3503
secondary
#2A1C78
accent
#29FF4B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D3503

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

Preview Lab → · Contrast checker → · Palette generator →

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