#2D330B#2D330B

#2D330B is a dark, muted yellow. Relative luminance 0.029; OKLCH L 30.6% C 0.060 H 117.4°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#2D330B
RGBrgb(45, 51, 11)
HSLhsl(69, 65%, 12%)
HSVhsv(69, 78%, 20%)
CMYKcmyk(11.8%, 0%, 78.4%, 80%)
CIE-LABlab(19.84, -9.31, 23.29)
CIE-LCHlch(19.84, 25.08, 111.79°)
OKLaboklab(30.58% -0.0276 0.0532)
OKLCHoklch(30.58% 0.06 117.4)
XYZxyz(2.3265, 2.9497, 0.7633)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D330B #110B33
analogous
#33250B #2D330B #19330B
triadic
#2D330B #0B2D33 #330B2D
tetradic
#2D330B #0B3325 #110B33 #330B19
square
#2D330B #0B3325 #110B33 #330B19
split-complementary
#2D330B #0B1933 #250B33
monochromatic
#161905 #161905 #2D330B #596516 #869821

Accessibility & contrast

On white

13.21
#2D330B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D330B
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D330B#FFFFFF#000000##FFFFFF
##2D330B1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373006
Deuteranopia (green-blind)
#36300E
Tritanopia (blue-blind)
#30302B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d330b;
/* rgb */ color: rgb(45, 51, 11);
/* oklch */ color: oklch(30.6% 0.060 117.4);
Tailwind
colors: {
  custom: {
    50: '#676a4d',
    500: '#2d330b',
    950: '#000000',
  },
}
SCSS
$custom: #2d330b;
$custom-light: #676a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d330b",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 11
  },
  "hsl": {
    "h": 69,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30578,
    "c": 0.05989,
    "h": 117.4
  },
  "luminance": 0.0295
}

Semantic roles & 50–950 ramp

primary
#2D330B
secondary
#352A70
accent
#40E859
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D330B

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

Preview Lab → · Contrast checker → · Palette generator →

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