#2D3202#2D3202

#2D3202 is a dark, moderate yellow. Relative luminance 0.028; OKLCH L 30.2% C 0.067 H 115.8°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#2D3202
RGBrgb(45, 50, 2)
HSLhsl(66, 92%, 10%)
HSVhsv(66, 96%, 20%)
CMYKcmyk(10%, 0%, 96%, 80.4%)
CIE-LABlab(19.41, -9.39, 26.47)
CIE-LCHlch(19.41, 28.09, 109.53°)
OKLaboklab(30.2% -0.029 0.0602)
OKLCHoklch(30.2% 0.067 115.8)
XYZxyz(2.2338, 2.8435, 0.4886)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3202 #070232
analogous
#321F02 #2D3202 #153202
triadic
#2D3202 #022D32 #32022D
tetradic
#2D3202 #02321F #070232 #320215
square
#2D3202 #02321F #070232 #320215
split-complementary
#2D3202 #021532 #1F0232
monochromatic
#1A1D01 #1A1D01 #2D3202 #626D04 #97A807

Accessibility & contrast

On white

13.39
#2D3202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2D3202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3202
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3202#FFFFFF#000000##FFFFFF
##2D32021.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F00
Deuteranopia (green-blind)
#362F05
Tritanopia (blue-blind)
#312E29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2d3202;
/* rgb */ color: rgb(45, 50, 2);
/* oklch */ color: oklch(30.2% 0.067 115.8);
Tailwind
colors: {
  custom: {
    50: '#686948',
    500: '#2d3202',
    950: '#000000',
  },
}
SCSS
$custom: #2d3202;
$custom-light: #686948;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3202",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 2
  },
  "hsl": {
    "h": 66.25,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.30202,
    "c": 0.0668,
    "h": 115.8
  },
  "luminance": 0.02843
}

Semantic roles & 50–950 ramp

primary
#2D3202
secondary
#231976
accent
#29FF3F
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2D3202

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

Preview Lab → · Contrast checker → · Palette generator →

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