#2A3303#2A3303

#2A3303 is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.2% C 0.069 H 120.1°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#2A3303
RGBrgb(42, 51, 3)
HSLhsl(71, 89%, 11%)
HSVhsv(71, 94%, 20%)
CMYKcmyk(17.6%, 0%, 94.1%, 80%)
CIE-LABlab(19.50, -11.50, 26.10)
CIE-LCHlch(19.50, 28.52, 113.78°)
OKLaboklab(30.21% -0.0345 0.0593)
OKLCHoklch(30.21% 0.069 120.1)
XYZxyz(2.1552, 2.8665, 0.5259)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3303 #0C0333
analogous
#332403 #2A3303 #123303
triadic
#2A3303 #032A33 #33032A
tetradic
#2A3303 #033324 #0C0333 #330312
square
#2A3303 #033324 #0C0333 #330312
split-complementary
#2A3303 #031233 #240333
monochromatic
#181D02 #181D02 #2A3303 #5A6D06 #89A70A

Accessibility & contrast

On white

13.35
#2A3303 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2A3303 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3303
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3303#FFFFFF#000000##FFFFFF
##2A33031.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F00
Deuteranopia (green-blind)
#362F07
Tritanopia (blue-blind)
#2D302A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a3303;
/* rgb */ color: rgb(42, 51, 3);
/* oklch */ color: oklch(30.2% 0.069 120.1);
Tailwind
colors: {
  custom: {
    50: '#656a49',
    500: '#2a3303',
    950: '#000000',
  },
}
SCSS
$custom: #2a3303;
$custom-light: #656a49;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3303",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 3
  },
  "hsl": {
    "h": 71.25,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.30213,
    "c": 0.06861,
    "h": 120.1
  },
  "luminance": 0.02866
}

Semantic roles & 50–950 ramp

primary
#2A3303
secondary
#2D1C76
accent
#29FF51
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A3303

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

Preview Lab → · Contrast checker → · Palette generator →

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