#2A4603#2A4603

#2A4603 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.8% C 0.095 H 131.0°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#2A4603
RGBrgb(42, 70, 3)
HSLhsl(85, 92%, 14%)
HSVhsv(85, 96%, 27%)
CMYKcmyk(40%, 0%, 95.7%, 72.5%)
CIE-LABlab(26.39, -21.90, 33.18)
CIE-LCHlch(26.39, 39.75, 123.44°)
OKLaboklab(35.81% -0.0625 0.0719)
OKLCHoklch(35.81% 0.095 131)
XYZxyz(3.1614, 4.8790, 0.8613)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4603 #1F0346
analogous
#464103 #2A4603 #084603
triadic
#2A4603 #032A46 #46032A
tetradic
#2A4603 #034641 #1F0346 #460308
square
#2A4603 #034641 #1F0346 #460308
split-complementary
#2A4603 #030846 #410346
monochromatic
#121D01 #121D01 #2A4603 #4D8106 #70BB08

Accessibility & contrast

On white

10.63
#2A4603 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2A4603 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4603
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4603#FFFFFF#000000##FFFFFF
##2A46031.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#463E0B
Tritanopia (blue-blind)
#2B433A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a4603;
/* rgb */ color: rgb(42, 70, 3);
/* oklch */ color: oklch(35.8% 0.095 131.0);
Tailwind
colors: {
  custom: {
    50: '#67794b',
    500: '#2a4603',
    950: '#000000',
  },
}
SCSS
$custom: #2a4603;
$custom-light: #67794b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4603",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 3
  },
  "hsl": {
    "h": 85.075,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.35809,
    "c": 0.09527,
    "h": 131
  },
  "luminance": 0.04879
}

Semantic roles & 50–950 ramp

primary
#2A4603
secondary
#4A1D87
accent
#29FF82
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #2A4603

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

Preview Lab → · Contrast checker → · Palette generator →

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