#2D3502#2D3502

#2D3502 is a dark, moderate yellow. Relative luminance 0.031; OKLCH L 31.1% C 0.071 H 118.7°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#2D3502
RGBrgb(45, 53, 2)
HSLhsl(69, 93%, 11%)
HSVhsv(69, 96%, 21%)
CMYKcmyk(15.1%, 0%, 96.2%, 79.2%)
CIE-LABlab(20.47, -11.21, 27.68)
CIE-LCHlch(20.47, 29.86, 112.06°)
OKLaboklab(31.06% -0.034 0.0621)
OKLCHoklch(31.06% 0.071 118.7)
XYZxyz(2.3663, 3.1085, 0.5328)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3502 #0A0235
analogous
#352302 #2D3502 #133502
triadic
#2D3502 #022D35 #35022D
tetradic
#2D3502 #023523 #0A0235 #350213
square
#2D3502 #023523 #0A0235 #350213
split-complementary
#2D3502 #021335 #230235
monochromatic
#191D01 #191D01 #2D3502 #5F7004 #91AB06

Accessibility & contrast

On white

12.95
#2D3502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2D3502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3502
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3502#FFFFFF#000000##FFFFFF
##2D35021.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#383206
Tritanopia (blue-blind)
#30312C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d3502;
/* rgb */ color: rgb(45, 53, 2);
/* oklch */ color: oklch(31.1% 0.071 118.7);
Tailwind
colors: {
  custom: {
    50: '#686c48',
    500: '#2d3502',
    950: '#000000',
  },
}
SCSS
$custom: #2d3502;
$custom-light: #686c48;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3502",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 2
  },
  "hsl": {
    "h": 69.412,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.31061,
    "c": 0.07078,
    "h": 118.7
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#2D3502
secondary
#291A79
accent
#29FF4A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D3502

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

Preview Lab → · Contrast checker → · Palette generator →

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