#2D3012#2D3012

#2D3012 is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.8% C 0.048 H 114.1°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#2D3012
RGBrgb(45, 48, 18)
HSLhsl(66, 45%, 13%)
HSVhsv(66, 63%, 19%)
CMYKcmyk(6.2%, 0%, 62.5%, 81.2%)
CIE-LABlab(18.87, -6.75, 18.54)
CIE-LCHlch(18.87, 19.73, 110.02°)
OKLaboklab(29.82% -0.0195 0.0437)
OKLCHoklch(29.82% 0.048 114.1)
XYZxyz(2.2484, 2.7155, 0.9779)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3012 #151230
analogous
#302412 #2D3012 #1E3012
triadic
#2D3012 #122D30 #30122D
tetradic
#2D3012 #123024 #151230 #30121E
square
#2D3012 #123024 #151230 #30121E
split-complementary
#2D3012 #121E30 #241230
monochromatic
#151608 #151608 #2D3012 #575D23 #808933

Accessibility & contrast

On white

13.61
#2D3012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3012
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3012#FFFFFF#000000##FFFFFF
##2D30121.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E0F
Deuteranopia (green-blind)
#332E14
Tritanopia (blue-blind)
#302D29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d3012;
/* rgb */ color: rgb(45, 48, 18);
/* oklch */ color: oklch(29.8% 0.048 114.1);
Tailwind
colors: {
  custom: {
    50: '#676851',
    500: '#2d3012',
    950: '#000000',
  },
}
SCSS
$custom: #2d3012;
$custom-light: #676851;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3012",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 18
  },
  "hsl": {
    "h": 66,
    "s": 45.455,
    "l": 12.941
  },
  "oklch": {
    "l": 0.29823,
    "c": 0.0478,
    "h": 114.1
  },
  "luminance": 0.02715
}

Semantic roles & 50–950 ramp

primary
#2D3012
secondary
#3B3668
accent
#53D560
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2D3012

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

Preview Lab → · Contrast checker → · Palette generator →

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