#2A4D10#2A4D10

#2A4D10 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.0% C 0.097 H 134.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2A4D10
RGBrgb(42, 77, 16)
HSLhsl(94, 66%, 18%)
HSVhsv(94, 79%, 30%)
CMYKcmyk(45.5%, 0%, 79.2%, 69.8%)
CIE-LABlab(29.00, -24.47, 30.49)
CIE-LCHlch(29.00, 39.09, 128.75°)
OKLaboklab(37.97% -0.0684 0.0687)
OKLCHoklch(37.97% 0.097 134.8)
XYZxyz(3.7022, 5.8372, 1.4217)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4D10 #33104D
analogous
#484D10 #2A4D10 #104D14
triadic
#2A4D10 #102A4D #4D102A
tetradic
#2A4D10 #10484D #33104D #4D1410
square
#2A4D10 #10484D #33104D #4D1410
split-complementary
#2A4D10 #14104D #4D1048
monochromatic
#0E1905 #0E1A05 #2A4D10 #46801B #61B225

Accessibility & contrast

On white

9.69
#2A4D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2A4D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4D10
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4D10#FFFFFF#000000##FFFFFF
##2A4D101.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504606
Deuteranopia (green-blind)
#4B4316
Tritanopia (blue-blind)
#294A41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a4d10;
/* rgb */ color: rgb(42, 77, 16);
/* oklch */ color: oklch(38.0% 0.097 134.8);
Tailwind
colors: {
  custom: {
    50: '#677f53',
    500: '#2a4d10',
    950: '#000000',
  },
}
SCSS
$custom: #2a4d10;
$custom-light: #677f53;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4d10",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 16
  },
  "hsl": {
    "h": 94.426,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37971,
    "c": 0.09694,
    "h": 134.8
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#2A4D10
secondary
#633287
accent
#3FE9A0
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2A4D10

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

Preview Lab → · Contrast checker → · Palette generator →

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