#2A4703#2A4703

#2A4703 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.1% C 0.097 H 131.4°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2A4703
RGBrgb(42, 71, 3)
HSLhsl(86, 92%, 15%)
HSVhsv(86, 96%, 28%)
CMYKcmyk(40.8%, 0%, 95.8%, 72.2%)
CIE-LABlab(26.75, -22.40, 33.50)
CIE-LCHlch(26.75, 40.30, 123.77°)
OKLaboklab(36.1% -0.0639 0.0725)
OKLCHoklch(36.1% 0.097 131.4)
XYZxyz(3.2245, 5.0052, 0.8823)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4703 #200347
analogous
#474203 #2A4703 #084703
triadic
#2A4703 #032A47 #47032A
tetradic
#2A4703 #034742 #200347 #470308
square
#2A4703 #034742 #200347 #470308
split-complementary
#2A4703 #030847 #420347
monochromatic
#111D01 #111D01 #2A4703 #4D8205 #6FBC08

Accessibility & contrast

On white

10.49
#2A4703 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2A4703 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4703
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4703#FFFFFF#000000##FFFFFF
##2A47031.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#473E0B
Tritanopia (blue-blind)
#2B443B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a4703;
/* rgb */ color: rgb(42, 71, 3);
/* oklch */ color: oklch(36.1% 0.097 131.4);
Tailwind
colors: {
  custom: {
    50: '#677a4b',
    500: '#2a4703',
    950: '#000000',
  },
}
SCSS
$custom: #2a4703;
$custom-light: #677a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4703",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 3
  },
  "hsl": {
    "h": 85.588,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.36105,
    "c": 0.09664,
    "h": 131.4
  },
  "luminance": 0.05005
}

Semantic roles & 50–950 ramp

primary
#2A4703
secondary
#4B1E88
accent
#29FF84
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #2A4703

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

Preview Lab → · Contrast checker → · Palette generator →

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