#2D3008#2D3008

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

Color values

HEX#2D3008
RGBrgb(45, 48, 8)
HSLhsl(65, 71%, 11%)
HSVhsv(65, 83%, 19%)
CMYKcmyk(6.2%, 0%, 83.3%, 81.2%)
CIE-LABlab(18.75, -7.68, 23.27)
CIE-LCHlch(18.75, 24.50, 108.26°)
OKLaboklab(29.7% -0.0234 0.0534)
OKLCHoklch(29.7% 0.058 113.6)
XYZxyz(2.1830, 2.6894, 0.6338)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3008 #0B0830
analogous
#301F08 #2D3008 #193008
triadic
#2D3008 #082D30 #30082D
tetradic
#2D3008 #08301F #0B0830 #300819
square
#2D3008 #08301F #0B0830 #300819
split-complementary
#2D3008 #081930 #1F0830
monochromatic
#191A04 #191A04 #2D3008 #5E6411 #8F9919

Accessibility & contrast

On white

13.66
#2D3008 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3008
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3008#FFFFFF#000000##FFFFFF
##2D30081.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D03
Deuteranopia (green-blind)
#342E0B
Tritanopia (blue-blind)
#312D28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d3008;
/* rgb */ color: rgb(45, 48, 8);
/* oklch */ color: oklch(29.7% 0.058 113.6);
Tailwind
colors: {
  custom: {
    50: '#67684b',
    500: '#2d3008',
    950: '#000000',
  },
}
SCSS
$custom: #2d3008;
$custom-light: #67684b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3008",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 8
  },
  "hsl": {
    "h": 64.5,
    "s": 71.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.29697,
    "c": 0.05833,
    "h": 113.6
  },
  "luminance": 0.02689
}

Semantic roles & 50–950 ramp

primary
#2D3008
secondary
#2A256F
accent
#3AEE47
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D3008

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

Preview Lab → · Contrast checker → · Palette generator →

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