#2A4E03#2A4E03

#2A4E03 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.2% C 0.106 H 133.4°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#2A4E03
RGBrgb(42, 78, 3)
HSLhsl(89, 93%, 16%)
HSVhsv(89, 96%, 31%)
CMYKcmyk(46.2%, 0%, 96.2%, 69.4%)
CIE-LABlab(29.28, -25.78, 35.64)
CIE-LCHlch(29.28, 43.99, 125.88°)
OKLaboklab(38.18% -0.0729 0.0771)
OKLCHoklch(38.18% 0.106 133.4)
XYZxyz(3.6956, 5.9474, 1.0394)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E03 #27034E
analogous
#4E4C03 #2A4E03 #044E03
triadic
#2A4E03 #032A4E #4E032A
tetradic
#2A4E03 #034E4C #27034E #4E0304
square
#2A4E03 #034E4C #27034E #4E0304
split-complementary
#2A4E03 #03044E #4C034E
monochromatic
#101D01 #101D01 #2A4E03 #4A8905 #69C408

Accessibility & contrast

On white

9.59
#2A4E03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2A4E03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E03
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E03#FFFFFF#000000##FFFFFF
##2A4E031.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524700
Deuteranopia (green-blind)
#4D440D
Tritanopia (blue-blind)
#2A4A41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a4e03;
/* rgb */ color: rgb(42, 78, 3);
/* oklch */ color: oklch(38.2% 0.106 133.4);
Tailwind
colors: {
  custom: {
    50: '#68804d',
    500: '#2a4e03',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e03;
$custom-light: #68804d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e03",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 3
  },
  "hsl": {
    "h": 88.8,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.38177,
    "c": 0.10607,
    "h": 133.4
  },
  "luminance": 0.05948
}

Semantic roles & 50–950 ramp

primary
#2A4E03
secondary
#541E8E
accent
#29FF90
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2A4E03

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

Preview Lab → · Contrast checker → · Palette generator →

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