#2D3005#2D3005

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

Color values

HEX#2D3005
RGBrgb(45, 48, 5)
HSLhsl(64, 81%, 10%)
HSVhsv(64, 90%, 19%)
CMYKcmyk(6.2%, 0%, 89.6%, 81.2%)
CIE-LABlab(18.73, -7.91, 24.46)
CIE-LCHlch(18.73, 25.71, 107.92°)
OKLaboklab(29.67% -0.0245 0.0561)
OKLCHoklch(29.67% 0.061 113.6)
XYZxyz(2.1666, 2.6828, 0.5472)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3005 #080530
analogous
#301D05 #2D3005 #173005
triadic
#2D3005 #052D30 #30052D
tetradic
#2D3005 #05301D #080530 #300517
square
#2D3005 #05301D #080530 #300517
split-complementary
#2D3005 #051730 #1D0530
monochromatic
#1A1C03 #1A1C03 #2D3005 #61670B #959F11

Accessibility & contrast

On white

13.67
#2D3005 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3005
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3005#FFFFFF#000000##FFFFFF
##2D30051.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D00
Deuteranopia (green-blind)
#342E08
Tritanopia (blue-blind)
#312C28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d3005;
/* rgb */ color: rgb(45, 48, 5);
/* oklch */ color: oklch(29.7% 0.061 113.6);
Tailwind
colors: {
  custom: {
    50: '#676849',
    500: '#2d3005',
    950: '#000000',
  },
}
SCSS
$custom: #2d3005;
$custom-light: #676849;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3005",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 5
  },
  "hsl": {
    "h": 64.186,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.29665,
    "c": 0.06121,
    "h": 113.6
  },
  "luminance": 0.02683
}

Semantic roles & 50–950 ramp

primary
#2D3005
secondary
#251F72
accent
#30F83E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D3005

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

Preview Lab → · Contrast checker → · Palette generator →

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