#2B3302#2B3302

#2B3302 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.3% C 0.069 H 119.0°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#2B3302
RGBrgb(43, 51, 2)
HSLhsl(70, 92%, 10%)
HSVhsv(70, 96%, 20%)
CMYKcmyk(15.7%, 0%, 96.1%, 80%)
CIE-LABlab(19.58, -11.06, 26.62)
CIE-LCHlch(19.58, 28.83, 112.56°)
OKLaboklab(30.3% -0.0335 0.0604)
OKLCHoklch(30.3% 0.069 119)
XYZxyz(2.1911, 2.8856, 0.4990)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3302 #0A0233
analogous
#332202 #2B3302 #123302
triadic
#2B3302 #022B33 #33022B
tetradic
#2B3302 #023322 #0A0233 #330212
square
#2B3302 #023322 #0A0233 #330212
split-complementary
#2B3302 #021233 #220233
monochromatic
#191D01 #191D01 #2B3302 #5D6E04 #8EA907

Accessibility & contrast

On white

13.31
#2B3302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2B3302 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3302
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3302#FFFFFF#000000##FFFFFF
##2B33021.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F00
Deuteranopia (green-blind)
#363006
Tritanopia (blue-blind)
#2E302A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2b3302;
/* rgb */ color: rgb(43, 51, 2);
/* oklch */ color: oklch(30.3% 0.069 119.0);
Tailwind
colors: {
  custom: {
    50: '#666a48',
    500: '#2b3302',
    950: '#000000',
  },
}
SCSS
$custom: #2b3302;
$custom-light: #666a48;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3302",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 2
  },
  "hsl": {
    "h": 69.796,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.30296,
    "c": 0.06907,
    "h": 119
  },
  "luminance": 0.02886
}

Semantic roles & 50–950 ramp

primary
#2B3302
secondary
#291A77
accent
#29FF4C
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2B3302

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

Preview Lab → · Contrast checker → · Palette generator →

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