#2A3402#2A3402

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

Color values

HEX#2A3402
RGBrgb(42, 52, 2)
HSLhsl(72, 93%, 11%)
HSVhsv(72, 96%, 20%)
CMYKcmyk(19.2%, 0%, 96.2%, 79.6%)
CIE-LABlab(19.85, -12.18, 26.91)
CIE-LCHlch(19.85, 29.54, 114.35°)
OKLaboklab(30.5% -0.0365 0.0609)
OKLCHoklch(30.5% 0.071 120.9)
XYZxyz(2.1938, 2.9526, 0.5118)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3402 #0C0234
analogous
#342502 #2A3402 #113402
triadic
#2A3402 #022A34 #34022A
tetradic
#2A3402 #023425 #0C0234 #340211
square
#2A3402 #023425 #0C0234 #340211
split-complementary
#2A3402 #021134 #250234
monochromatic
#181D01 #181D01 #2A3402 #5A6F04 #89AA07

Accessibility & contrast

On white

13.20
#2A3402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2A3402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3402
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3402#FFFFFF#000000##FFFFFF
##2A34021.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383000
Deuteranopia (green-blind)
#373006
Tritanopia (blue-blind)
#2D312B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a3402;
/* rgb */ color: rgb(42, 52, 2);
/* oklch */ color: oklch(30.5% 0.071 120.9);
Tailwind
colors: {
  custom: {
    50: '#656b48',
    500: '#2a3402',
    950: '#000000',
  },
}
SCSS
$custom: #2a3402;
$custom-light: #656b48;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3402",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 2
  },
  "hsl": {
    "h": 72,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.30495,
    "c": 0.07096,
    "h": 120.9
  },
  "luminance": 0.02953
}

Semantic roles & 50–950 ramp

primary
#2A3402
secondary
#2D1A78
accent
#29FF54
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A3402

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

Preview Lab → · Contrast checker → · Palette generator →

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