#2D3010#2D3010

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

Color values

HEX#2D3010
RGBrgb(45, 48, 16)
HSLhsl(66, 50%, 13%)
HSVhsv(66, 67%, 19%)
CMYKcmyk(6.2%, 0%, 66.7%, 81.2%)
CIE-LABlab(18.84, -6.97, 19.67)
CIE-LCHlch(18.84, 20.87, 109.52°)
OKLaboklab(29.79% -0.0203 0.0459)
OKLCHoklch(29.79% 0.05 113.9)
XYZxyz(2.2327, 2.7092, 0.8954)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3010 #131030
analogous
#302310 #2D3010 #1D3010
triadic
#2D3010 #102D30 #30102D
tetradic
#2D3010 #103023 #131030 #30101D
square
#2D3010 #103023 #131030 #30101D
split-complementary
#2D3010 #101D30 #231030
monochromatic
#161708 #161708 #2D3010 #585E1F #838C2F

Accessibility & contrast

On white

13.62
#2D3010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3010
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3010#FFFFFF#000000##FFFFFF
##2D30101.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D0D
Deuteranopia (green-blind)
#342E12
Tritanopia (blue-blind)
#302D29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d3010;
/* rgb */ color: rgb(45, 48, 16);
/* oklch */ color: oklch(29.8% 0.050 113.9);
Tailwind
colors: {
  custom: {
    50: '#67684f',
    500: '#2d3010',
    950: '#000000',
  },
}
SCSS
$custom: #2d3010;
$custom-light: #67684f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3010",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 16
  },
  "hsl": {
    "h": 65.625,
    "s": 50,
    "l": 12.549
  },
  "oklch": {
    "l": 0.29793,
    "c": 0.0502,
    "h": 113.9
  },
  "luminance": 0.02709
}

Semantic roles & 50–950 ramp

primary
#2D3010
secondary
#383369
accent
#4EDA5B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2D3010

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

Preview Lab → · Contrast checker → · Palette generator →

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