#2D3002#2D3002

#2D3002 is a dark, moderate yellow. Relative luminance 0.027; OKLCH L 29.6% C 0.064 H 113.5°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#2D3002
RGBrgb(45, 48, 2)
HSLhsl(64, 92%, 10%)
HSVhsv(64, 96%, 19%)
CMYKcmyk(6.2%, 0%, 95.8%, 81.2%)
CIE-LABlab(18.70, -8.15, 25.65)
CIE-LCHlch(18.70, 26.91, 107.62°)
OKLaboklab(29.63% -0.0256 0.0589)
OKLCHoklch(29.63% 0.064 113.5)
XYZxyz(2.1502, 2.6762, 0.4607)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3002 #050230
analogous
#301C02 #2D3002 #163002
triadic
#2D3002 #022D30 #30022D
tetradic
#2D3002 #02301C #050230 #300216
square
#2D3002 #02301C #050230 #300216
split-complementary
#2D3002 #021630 #1C0230
monochromatic
#1C1D01 #1C1D01 #2D3002 #646B04 #9BA607

Accessibility & contrast

On white

13.68
#2D3002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3002
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3002#FFFFFF#000000##FFFFFF
##2D30021.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352D00
Deuteranopia (green-blind)
#342E05
Tritanopia (blue-blind)
#312C27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2d3002;
/* rgb */ color: rgb(45, 48, 2);
/* oklch */ color: oklch(29.6% 0.064 113.5);
Tailwind
colors: {
  custom: {
    50: '#686848',
    500: '#2d3002',
    950: '#000000',
  },
}
SCSS
$custom: #2d3002;
$custom-light: #686848;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3002",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 2
  },
  "hsl": {
    "h": 63.913,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.29633,
    "c": 0.06422,
    "h": 113.5
  },
  "luminance": 0.02676
}

Semantic roles & 50–950 ramp

primary
#2D3002
secondary
#1F1975
accent
#29FF37
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2D3002

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

Preview Lab → · Contrast checker → · Palette generator →

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