#2A3A03#2A3A03

#2A3A03 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.3% C 0.078 H 125.4°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#2A3A03
RGBrgb(42, 58, 3)
HSLhsl(77, 90%, 12%)
HSVhsv(77, 95%, 23%)
CMYKcmyk(27.6%, 0%, 94.8%, 77.3%)
CIE-LABlab(22.03, -15.55, 28.90)
CIE-LCHlch(22.03, 32.82, 118.29°)
OKLaboklab(32.26% -0.0455 0.064)
OKLCHoklch(32.26% 0.078 125.4)
XYZxyz(2.4844, 3.5249, 0.6356)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3A03 #13033A
analogous
#3A2F03 #2A3A03 #0E3A03
triadic
#2A3A03 #032A3A #3A032A
tetradic
#2A3A03 #033A2F #13033A #3A030E
square
#2A3A03 #033A2F #13033A #3A030E
split-complementary
#2A3A03 #030E3A #2F033A
monochromatic
#151D02 #151D02 #2A3A03 #547406 #7EAE09

Accessibility & contrast

On white

12.32
#2A3A03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2A3A03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3A03
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3A03#FFFFFF#000000##FFFFFF
##2A3A031.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#3C3508
Tritanopia (blue-blind)
#2C3730
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2a3a03;
/* rgb */ color: rgb(42, 58, 3);
/* oklch */ color: oklch(32.3% 0.078 125.4);
Tailwind
colors: {
  custom: {
    50: '#667049',
    500: '#2a3a03',
    950: '#000000',
  },
}
SCSS
$custom: #2a3a03;
$custom-light: #667049;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3a03",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 3
  },
  "hsl": {
    "h": 77.455,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.32263,
    "c": 0.07849,
    "h": 125.4
  },
  "luminance": 0.03525
}

Semantic roles & 50–950 ramp

primary
#2A3A03
secondary
#381C7D
accent
#29FF67
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3A03

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

Preview Lab → · Contrast checker → · Palette generator →

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