#2D3307#2D3307

#2D3307 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.5% C 0.063 H 117.1°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#2D3307
RGBrgb(45, 51, 7)
HSLhsl(68, 76%, 11%)
HSVhsv(68, 86%, 20%)
CMYKcmyk(11.8%, 0%, 86.3%, 80%)
CIE-LABlab(19.81, -9.62, 24.89)
CIE-LCHlch(19.81, 26.69, 111.13°)
OKLaboklab(30.54% -0.0289 0.0565)
OKLCHoklch(30.54% 0.063 117.1)
XYZxyz(2.3044, 2.9409, 0.6472)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3307 #0D0733
analogous
#332307 #2D3307 #173307
triadic
#2D3307 #072D33 #33072D
tetradic
#2D3307 #073323 #0D0733 #330717
square
#2D3307 #073323 #0D0733 #330717
split-complementary
#2D3307 #071733 #230733
monochromatic
#181B04 #181B04 #2D3307 #5C690E #8C9F16

Accessibility & contrast

On white

13.22
#2D3307 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2D3307 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3307
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3307#FFFFFF#000000##FFFFFF
##2D33071.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373002
Deuteranopia (green-blind)
#37300A
Tritanopia (blue-blind)
#30302B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d3307;
/* rgb */ color: rgb(45, 51, 7);
/* oklch */ color: oklch(30.5% 0.063 117.1);
Tailwind
colors: {
  custom: {
    50: '#676a4b',
    500: '#2d3307',
    950: '#000000',
  },
}
SCSS
$custom: #2d3307;
$custom-light: #676a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3307",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 7
  },
  "hsl": {
    "h": 68.182,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.30538,
    "c": 0.06345,
    "h": 117.1
  },
  "luminance": 0.02941
}

Semantic roles & 50–950 ramp

primary
#2D3307
secondary
#2E2373
accent
#35F24F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D3307

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

Preview Lab → · Contrast checker → · Palette generator →

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