#2A3602#2A3602

#2A3602 is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 31.1% C 0.074 H 122.5°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#2A3602
RGBrgb(42, 54, 2)
HSLhsl(74, 93%, 11%)
HSVhsv(74, 96%, 21%)
CMYKcmyk(22.2%, 0%, 96.3%, 78.8%)
CIE-LABlab(20.58, -13.35, 27.72)
CIE-LCHlch(20.58, 30.77, 115.71°)
OKLaboklab(31.08% -0.0396 0.0622)
OKLCHoklch(31.08% 0.074 122.5)
XYZxyz(2.2850, 3.1349, 0.5421)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3602 #0E0236
analogous
#362802 #2A3602 #103602
triadic
#2A3602 #022A36 #36022A
tetradic
#2A3602 #023628 #0E0236 #360210
square
#2A3602 #023628 #0E0236 #360210
split-complementary
#2A3602 #021036 #280236
monochromatic
#171E01 #171E01 #2A3602 #587104 #86AC06

Accessibility & contrast

On white

12.91
#2A3602 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2A3602 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3602
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3602#FFFFFF#000000##FFFFFF
##2A36021.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3200
Deuteranopia (green-blind)
#383206
Tritanopia (blue-blind)
#2D332D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a3602;
/* rgb */ color: rgb(42, 54, 2);
/* oklch */ color: oklch(31.1% 0.074 122.5);
Tailwind
colors: {
  custom: {
    50: '#656d48',
    500: '#2a3602',
    950: '#000000',
  },
}
SCSS
$custom: #2a3602;
$custom-light: #656d48;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3602",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 2
  },
  "hsl": {
    "h": 73.846,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.31079,
    "c": 0.07374,
    "h": 122.5
  },
  "luminance": 0.03135
}

Semantic roles & 50–950 ramp

primary
#2A3602
secondary
#301A7A
accent
#29FF5A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3602

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

Preview Lab → · Contrast checker → · Palette generator →

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