#2A500D#2A500D

#2A500D is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 38.8% C 0.103 H 135.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#2A500D
RGBrgb(42, 80, 13)
HSLhsl(94, 72%, 18%)
HSVhsv(94, 84%, 31%)
CMYKcmyk(47.5%, 0%, 83.7%, 68.6%)
CIE-LABlab(30.06, -26.12, 32.74)
CIE-LCHlch(30.06, 41.88, 128.58°)
OKLaboklab(38.83% -0.073 0.0729)
OKLCHoklch(38.83% 0.103 135)
XYZxyz(3.8961, 6.2584, 1.3834)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A500D #330D50
analogous
#4B500D #2A500D #0D5011
triadic
#2A500D #0D2A50 #500D2A
tetradic
#2A500D #0D4B50 #330D50 #50110D
square
#2A500D #0D4B50 #330D50 #50110D
split-complementary
#2A500D #110D50 #500D4B
monochromatic
#0E1A04 #0E1B04 #2A500D #468516 #61B91E

Accessibility & contrast

On white

9.33
#2A500D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2A500D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A500D
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A500D#FFFFFF#000000##FFFFFF
##2A500D1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534901
Deuteranopia (green-blind)
#4E4614
Tritanopia (blue-blind)
#294D43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a500d;
/* rgb */ color: rgb(42, 80, 13);
/* oklch */ color: oklch(38.8% 0.103 135.0);
Tailwind
colors: {
  custom: {
    50: '#688152',
    500: '#2a500d',
    950: '#000000',
  },
}
SCSS
$custom: #2a500d;
$custom-light: #688152;
$custom-dark: #000000;
JSON
{
  "hex": "#2a500d",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 13
  },
  "hsl": {
    "h": 94.03,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38831,
    "c": 0.10322,
    "h": 135
  },
  "luminance": 0.06259
}

Semantic roles & 50–950 ramp

primary
#2A500D
secondary
#632E8B
accent
#39EFA0
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2A500D

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

Preview Lab → · Contrast checker → · Palette generator →

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