#2B3303#2B3303

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

Color values

HEX#2B3303
RGBrgb(43, 51, 3)
HSLhsl(70, 89%, 11%)
HSVhsv(70, 94%, 20%)
CMYKcmyk(15.7%, 0%, 94.1%, 80%)
CIE-LABlab(19.59, -10.98, 26.22)
CIE-LCHlch(19.59, 28.43, 112.72°)
OKLaboklab(30.31% -0.0331 0.0595)
OKLCHoklch(30.31% 0.068 119.1)
XYZxyz(2.1966, 2.8878, 0.5278)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3303 #0B0333
analogous
#332303 #2B3303 #133303
triadic
#2B3303 #032B33 #33032B
tetradic
#2B3303 #033323 #0B0333 #330313
square
#2B3303 #033323 #0B0333 #330313
split-complementary
#2B3303 #031333 #230333
monochromatic
#181D02 #181D02 #2B3303 #5C6D06 #8CA70A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B3303#FFFFFF#000000##FFFFFF
##2B33031.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)
#363007
Tritanopia (blue-blind)
#2E302A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2b3303;
/* rgb */ color: rgb(43, 51, 3);
/* oklch */ color: oklch(30.3% 0.068 119.1);
Tailwind
colors: {
  custom: {
    50: '#666a49',
    500: '#2b3303',
    950: '#000000',
  },
}
SCSS
$custom: #2b3303;
$custom-light: #666a49;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3303",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 3
  },
  "hsl": {
    "h": 70,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.30306,
    "c": 0.0681,
    "h": 119.1
  },
  "luminance": 0.02888
}

Semantic roles & 50–950 ramp

primary
#2B3303
secondary
#2B1C76
accent
#29FF4D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B3303

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

Preview Lab → · Contrast checker → · Palette generator →

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