#2D3103#2D3103

#2D3103 is a dark, moderate yellow. Relative luminance 0.028; OKLCH L 29.9% C 0.065 H 114.7°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#2D3103
RGBrgb(45, 49, 3)
HSLhsl(65, 88%, 10%)
HSVhsv(65, 94%, 19%)
CMYKcmyk(8.2%, 0%, 93.9%, 80.8%)
CIE-LABlab(19.06, -8.69, 25.66)
CIE-LCHlch(19.06, 27.10, 108.71°)
OKLaboklab(29.93% -0.0269 0.0586)
OKLCHoklch(29.93% 0.065 114.7)
XYZxyz(2.1970, 2.7611, 0.5033)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3103 #070331
analogous
#311E03 #2D3103 #163103
triadic
#2D3103 #032D31 #31032D
tetradic
#2D3103 #03311E #070331 #310316
square
#2D3103 #03311E #070331 #310316
split-complementary
#2D3103 #031631 #1E0331
monochromatic
#1A1D02 #1A1D02 #2D3103 #626B07 #97A40A

Accessibility & contrast

On white

13.53
#2D3103 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2D3103 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3103
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3103#FFFFFF#000000##FFFFFF
##2D31031.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E00
Deuteranopia (green-blind)
#352F06
Tritanopia (blue-blind)
#312D28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d3103;
/* rgb */ color: rgb(45, 49, 3);
/* oklch */ color: oklch(29.9% 0.065 114.7);
Tailwind
colors: {
  custom: {
    50: '#686848',
    500: '#2d3103',
    950: '#000000',
  },
}
SCSS
$custom: #2d3103;
$custom-light: #686848;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3103",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 3
  },
  "hsl": {
    "h": 65.217,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.29928,
    "c": 0.06451,
    "h": 114.7
  },
  "luminance": 0.02761
}

Semantic roles & 50–950 ramp

primary
#2D3103
secondary
#231B74
accent
#29FF3C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D3103

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

Preview Lab → · Contrast checker → · Palette generator →

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