#2A3504#2A3504

#2A3504 is a dark, moderate yellow-green. Relative luminance 0.030; OKLCH L 30.8% C 0.071 H 122.0°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#2A3504
RGBrgb(42, 53, 4)
HSLhsl(73, 86%, 11%)
HSVhsv(73, 92%, 21%)
CMYKcmyk(20.8%, 0%, 92.5%, 79.2%)
CIE-LABlab(20.23, -12.61, 26.52)
CIE-LCHlch(20.23, 29.37, 115.43°)
OKLaboklab(30.81% -0.0373 0.0598)
OKLCHoklch(30.81% 0.071 122)
XYZxyz(2.2499, 3.0472, 0.5845)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3504 #0F0435
analogous
#352704 #2A3504 #113504
triadic
#2A3504 #042A35 #35042A
tetradic
#2A3504 #043527 #0F0435 #350411
square
#2A3504 #043527 #0F0435 #350411
split-complementary
#2A3504 #041135 #270435
monochromatic
#171C02 #171C02 #2A3504 #576E08 #84A70D

Accessibility & contrast

On white

13.05
#2A3504 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2A3504 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3504
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3504#FFFFFF#000000##FFFFFF
##2A35041.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#373108
Tritanopia (blue-blind)
#2D322C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a3504;
/* rgb */ color: rgb(42, 53, 4);
/* oklch */ color: oklch(30.8% 0.071 122.0);
Tailwind
colors: {
  custom: {
    50: '#656c49',
    500: '#2a3504',
    950: '#000000',
  },
}
SCSS
$custom: #2a3504;
$custom-light: #656c49;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3504",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 4
  },
  "hsl": {
    "h": 73.469,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.30806,
    "c": 0.07051,
    "h": 122
  },
  "luminance": 0.03047
}

Semantic roles & 50–950 ramp

primary
#2A3504
secondary
#321E77
accent
#2CFC5A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A3504

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

Preview Lab → · Contrast checker → · Palette generator →

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