#2A4B10#2A4B10

#2A4B10 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.4% C 0.094 H 134.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2A4B10
RGBrgb(42, 75, 16)
HSLhsl(94, 65%, 18%)
HSVhsv(94, 79%, 29%)
CMYKcmyk(44%, 0%, 78.7%, 70.6%)
CIE-LABlab(28.28, -23.49, 29.76)
CIE-LCHlch(28.28, 37.92, 128.29°)
OKLaboklab(37.38% -0.0657 0.0672)
OKLCHoklch(37.38% 0.094 134.4)
XYZxyz(3.5644, 5.5616, 1.3758)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4B10 #31104B
analogous
#474B10 #2A4B10 #104B13
triadic
#2A4B10 #102A4B #4B102A
tetradic
#2A4B10 #10474B #31104B #4B1310
square
#2A4B10 #10474B #31104B #4B1310
split-complementary
#2A4B10 #13104B #4B1047
monochromatic
#0E1905 #0E1905 #2A4B10 #467D1B #62B026

Accessibility & contrast

On white

9.94
#2A4B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2A4B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4B10
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4B10#FFFFFF#000000##FFFFFF
##2A4B101.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4407
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#2A483F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a4b10;
/* rgb */ color: rgb(42, 75, 16);
/* oklch */ color: oklch(37.4% 0.094 134.4);
Tailwind
colors: {
  custom: {
    50: '#677d52',
    500: '#2a4b10',
    950: '#000000',
  },
}
SCSS
$custom: #2a4b10;
$custom-light: #677d52;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4b10",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 16
  },
  "hsl": {
    "h": 93.559,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37382,
    "c": 0.094,
    "h": 134.4
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#2A4B10
secondary
#603285
accent
#40E89E
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A4B10

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

Preview Lab → · Contrast checker → · Palette generator →

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