#2A4003#2A4003

#2A4003 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.0% C 0.087 H 128.6°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#2A4003
RGBrgb(42, 64, 3)
HSLhsl(82, 91%, 13%)
HSVhsv(82, 95%, 25%)
CMYKcmyk(34.4%, 0%, 95.3%, 74.9%)
CIE-LABlab(24.21, -18.82, 31.12)
CIE-LCHlch(24.21, 36.37, 121.15°)
OKLaboklab(34.03% -0.0543 0.0679)
OKLCHoklch(34.03% 0.087 128.6)
XYZxyz(2.8047, 4.1655, 0.7424)
Luminance0.0417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4003 #190340
analogous
#403703 #2A4003 #0C4003
triadic
#2A4003 #032A40 #40032A
tetradic
#2A4003 #034037 #190340 #40030C
square
#2A4003 #034037 #190340 #40030C
split-complementary
#2A4003 #030C40 #370340
monochromatic
#131D01 #131D01 #2A4003 #507A06 #77B508

Accessibility & contrast

On white

11.46
#2A4003 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2A4003 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4003
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4003#FFFFFF#000000##FFFFFF
##2A40031.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#413909
Tritanopia (blue-blind)
#2C3D35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a4003;
/* rgb */ color: rgb(42, 64, 3);
/* oklch */ color: oklch(34.0% 0.087 128.6);
Tailwind
colors: {
  custom: {
    50: '#66754a',
    500: '#2a4003',
    950: '#000000',
  },
}
SCSS
$custom: #2a4003;
$custom-light: #66754a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4003",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 3
  },
  "hsl": {
    "h": 81.639,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.34033,
    "c": 0.08695,
    "h": 128.6
  },
  "luminance": 0.04166
}

Semantic roles & 50–950 ramp

primary
#2A4003
secondary
#411D82
accent
#29FF76
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2A4003

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

Preview Lab → · Contrast checker → · Palette generator →

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