#2D330A#2D330A

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

Color values

HEX#2D330A
RGBrgb(45, 51, 10)
HSLhsl(69, 67%, 12%)
HSVhsv(69, 80%, 20%)
CMYKcmyk(11.8%, 0%, 80.4%, 80%)
CIE-LABlab(19.83, -9.39, 23.70)
CIE-LCHlch(19.83, 25.49, 111.62°)
OKLaboklab(30.57% -0.0279 0.054)
OKLCHoklch(30.57% 0.061 117.3)
XYZxyz(2.3209, 2.9475, 0.7338)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D330A #100A33
analogous
#33250A #2D330A #19330A
triadic
#2D330A #0A2D33 #330A2D
tetradic
#2D330A #0A3325 #100A33 #330A19
square
#2D330A #0A3325 #100A33 #330A19
split-complementary
#2D330A #0A1933 #250A33
monochromatic
#171A05 #171A05 #2D330A #5A6614 #87991E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D330A#FFFFFF#000000##FFFFFF
##2D330A1.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)
#373005
Deuteranopia (green-blind)
#36300D
Tritanopia (blue-blind)
#30302B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d330a;
/* rgb */ color: rgb(45, 51, 10);
/* oklch */ color: oklch(30.6% 0.061 117.3);
Tailwind
colors: {
  custom: {
    50: '#676a4c',
    500: '#2d330a',
    950: '#000000',
  },
}
SCSS
$custom: #2d330a;
$custom-light: #676a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d330a",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 10
  },
  "hsl": {
    "h": 68.78,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30568,
    "c": 0.06078,
    "h": 117.3
  },
  "luminance": 0.02947
}

Semantic roles & 50–950 ramp

primary
#2D330A
secondary
#332870
accent
#3EEA57
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D330A

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

Preview Lab → · Contrast checker → · Palette generator →

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