#2A3302#2A3302

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

Color values

HEX#2A3302
RGBrgb(42, 51, 2)
HSLhsl(71, 92%, 10%)
HSVhsv(71, 96%, 20%)
CMYKcmyk(17.6%, 0%, 96.1%, 80%)
CIE-LABlab(19.49, -11.58, 26.50)
CIE-LCHlch(19.49, 28.92, 113.61°)
OKLaboklab(30.2% -0.0348 0.0602)
OKLCHoklch(30.2% 0.07 120)
XYZxyz(2.1497, 2.8643, 0.4970)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3302 #0B0233
analogous
#332302 #2A3302 #123302
triadic
#2A3302 #022A33 #33022A
tetradic
#2A3302 #023323 #0B0233 #330212
square
#2A3302 #023323 #0B0233 #330212
split-complementary
#2A3302 #021233 #230233
monochromatic
#181D01 #181D01 #2A3302 #5A6E04 #8BA907

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A3302#FFFFFF#000000##FFFFFF
##2A33021.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)
#362F06
Tritanopia (blue-blind)
#2D302A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a3302;
/* rgb */ color: rgb(42, 51, 2);
/* oklch */ color: oklch(30.2% 0.070 120.0);
Tailwind
colors: {
  custom: {
    50: '#656a48',
    500: '#2a3302',
    950: '#000000',
  },
}
SCSS
$custom: #2a3302;
$custom-light: #656a48;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3302",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 2
  },
  "hsl": {
    "h": 71.02,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.30203,
    "c": 0.06958,
    "h": 120
  },
  "luminance": 0.02864
}

Semantic roles & 50–950 ramp

primary
#2A3302
secondary
#2B1A77
accent
#29FF50
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2A3302

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

Preview Lab → · Contrast checker → · Palette generator →

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