#2D330D#2D330D

#2D330D is a dark, muted yellow. Relative luminance 0.030; OKLCH L 30.6% C 0.058 H 117.6°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#2D330D
RGBrgb(45, 51, 13)
HSLhsl(69, 59%, 13%)
HSVhsv(69, 75%, 20%)
CMYKcmyk(11.8%, 0%, 74.5%, 80%)
CIE-LABlab(19.86, -9.15, 22.40)
CIE-LCHlch(19.86, 24.20, 112.21°)
OKLaboklab(30.6% -0.0268 0.0514)
OKLCHoklch(30.6% 0.058 117.6)
XYZxyz(2.3387, 2.9546, 0.8278)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D330D #130D33
analogous
#33260D #2D330D #1A330D
triadic
#2D330D #0D2D33 #330D2D
tetradic
#2D330D #0D3326 #130D33 #330D1A
square
#2D330D #0D3326 #130D33 #330D1A
split-complementary
#2D330D #0D1A33 #260D33
monochromatic
#161806 #161806 #2D330D #586419 #839526

Accessibility & contrast

On white

13.20
#2D330D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D330D
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D330D#FFFFFF#000000##FFFFFF
##2D330D1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373008
Deuteranopia (green-blind)
#363010
Tritanopia (blue-blind)
#30302B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d330d;
/* rgb */ color: rgb(45, 51, 13);
/* oklch */ color: oklch(30.6% 0.058 117.6);
Tailwind
colors: {
  custom: {
    50: '#676a4e',
    500: '#2d330d',
    950: '#000000',
  },
}
SCSS
$custom: #2d330d;
$custom-light: #676a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d330d",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 13
  },
  "hsl": {
    "h": 69.474,
    "s": 59.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.306,
    "c": 0.05798,
    "h": 117.6
  },
  "luminance": 0.02955
}

Semantic roles & 50–950 ramp

primary
#2D330D
secondary
#382E6E
accent
#45E35E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D330D

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

Preview Lab → · Contrast checker → · Palette generator →

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