#2D330C#2D330C

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

Color values

HEX#2D330C
RGBrgb(45, 51, 12)
HSLhsl(69, 62%, 12%)
HSVhsv(69, 76%, 20%)
CMYKcmyk(11.8%, 0%, 76.5%, 80%)
CIE-LABlab(19.85, -9.23, 22.86)
CIE-LCHlch(19.85, 24.65, 111.99°)
OKLaboklab(30.59% -0.0272 0.0523)
OKLCHoklch(30.59% 0.059 117.5)
XYZxyz(2.3324, 2.9521, 0.7947)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D330C #120C33
analogous
#33260C #2D330C #19330C
triadic
#2D330C #0C2D33 #330C2D
tetradic
#2D330C #0C3326 #120C33 #330C19
square
#2D330C #0C3326 #120C33 #330C19
split-complementary
#2D330C #0C1933 #260C33
monochromatic
#161906 #161906 #2D330C #596518 #849623

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D330C#FFFFFF#000000##FFFFFF
##2D330C1.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)
#373007
Deuteranopia (green-blind)
#36300F
Tritanopia (blue-blind)
#30302B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d330c;
/* rgb */ color: rgb(45, 51, 12);
/* oklch */ color: oklch(30.6% 0.059 117.5);
Tailwind
colors: {
  custom: {
    50: '#676a4d',
    500: '#2d330c',
    950: '#000000',
  },
}
SCSS
$custom: #2d330c;
$custom-light: #676a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d330c",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 12
  },
  "hsl": {
    "h": 69.231,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.30589,
    "c": 0.05895,
    "h": 117.5
  },
  "luminance": 0.02952
}

Semantic roles & 50–950 ramp

primary
#2D330C
secondary
#362C6F
accent
#43E55C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D330C

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

Preview Lab → · Contrast checker → · Palette generator →

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