#2D3006#2D3006

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

Color values

HEX#2D3006
RGBrgb(45, 48, 6)
HSLhsl(64, 78%, 11%)
HSVhsv(64, 88%, 19%)
CMYKcmyk(6.2%, 0%, 87.5%, 81.2%)
CIE-LABlab(18.74, -7.83, 24.06)
CIE-LCHlch(18.74, 25.30, 108.03°)
OKLaboklab(29.68% -0.0241 0.0552)
OKLCHoklch(29.68% 0.06 113.6)
XYZxyz(2.1721, 2.6850, 0.5761)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3006 #090630
analogous
#301E06 #2D3006 #183006
triadic
#2D3006 #062D30 #30062D
tetradic
#2D3006 #06301E #090630 #300618
square
#2D3006 #06301E #090630 #300618
split-complementary
#2D3006 #061830 #1E0630
monochromatic
#191B03 #191B03 #2D3006 #60660D #939D14

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D3006#FFFFFF#000000##FFFFFF
##2D30061.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)
#342D01
Deuteranopia (green-blind)
#342E09
Tritanopia (blue-blind)
#312D28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d3006;
/* rgb */ color: rgb(45, 48, 6);
/* oklch */ color: oklch(29.7% 0.060 113.6);
Tailwind
colors: {
  custom: {
    50: '#67684a',
    500: '#2d3006',
    950: '#000000',
  },
}
SCSS
$custom: #2d3006;
$custom-light: #67684a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3006",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 6
  },
  "hsl": {
    "h": 64.286,
    "s": 77.778,
    "l": 10.588
  },
  "oklch": {
    "l": 0.29676,
    "c": 0.06024,
    "h": 113.6
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#2D3006
secondary
#272171
accent
#34F441
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D3006

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

Preview Lab → · Contrast checker → · Palette generator →

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