#2A3304#2A3304

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

Color values

HEX#2A3304
RGBrgb(42, 51, 4)
HSLhsl(71, 85%, 11%)
HSVhsv(71, 92%, 20%)
CMYKcmyk(17.6%, 0%, 92.2%, 80%)
CIE-LABlab(19.51, -11.42, 25.70)
CIE-LCHlch(19.51, 28.13, 113.96°)
OKLaboklab(30.22% -0.0341 0.0585)
OKLCHoklch(30.22% 0.068 120.3)
XYZxyz(2.1606, 2.8687, 0.5547)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3304 #0D0433
analogous
#332404 #2A3304 #123304
triadic
#2A3304 #042A33 #33042A
tetradic
#2A3304 #043324 #0D0433 #330412
square
#2A3304 #043324 #0D0433 #330412
split-complementary
#2A3304 #041233 #240433
monochromatic
#171C02 #171C02 #2A3304 #596C08 #87A40D

Accessibility & contrast

On white

13.34
#2A3304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3304
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3304#FFFFFF#000000##FFFFFF
##2A33041.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3304;
/* rgb */ color: rgb(42, 51, 4);
/* oklch */ color: oklch(30.2% 0.068 120.3);
Tailwind
colors: {
  custom: {
    50: '#656a49',
    500: '#2a3304',
    950: '#000000',
  },
}
SCSS
$custom: #2a3304;
$custom-light: #656a49;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3304",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 4
  },
  "hsl": {
    "h": 71.489,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.30223,
    "c": 0.06766,
    "h": 120.3
  },
  "luminance": 0.02869
}

Semantic roles & 50–950 ramp

primary
#2A3304
secondary
#2E1D75
accent
#2CFC54
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A3304

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

Preview Lab → · Contrast checker → · Palette generator →

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