#2A500E#2A500E

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

Color values

HEX#2A500E
RGBrgb(42, 80, 14)
HSLhsl(95, 70%, 18%)
HSVhsv(95, 83%, 31%)
CMYKcmyk(47.5%, 0%, 82.5%, 68.6%)
CIE-LABlab(30.06, -26.05, 32.36)
CIE-LCHlch(30.06, 41.54, 128.83°)
OKLaboklab(38.84% -0.0728 0.0723)
OKLCHoklch(38.84% 0.103 135.2)
XYZxyz(3.9027, 6.2610, 1.4182)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A500E #340E50
analogous
#4B500E #2A500E #0E5013
triadic
#2A500E #0E2A50 #500E2A
tetradic
#2A500E #0E4B50 #340E50 #50130E
square
#2A500E #0E4B50 #340E50 #50130E
split-complementary
#2A500E #130E50 #500E4B
monochromatic
#0E1A05 #0F1C05 #2A500E #458417 #61B820

Accessibility & contrast

On white

9.32
#2A500E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A500E
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A500E#FFFFFF#000000##FFFFFF
##2A500E1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a500e;
/* rgb */ color: rgb(42, 80, 14);
/* oklch */ color: oklch(38.8% 0.103 135.2);
Tailwind
colors: {
  custom: {
    50: '#688152',
    500: '#2a500e',
    950: '#000000',
  },
}
SCSS
$custom: #2a500e;
$custom-light: #688152;
$custom-dark: #000000;
JSON
{
  "hex": "#2a500e",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 14
  },
  "hsl": {
    "h": 94.545,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38839,
    "c": 0.10259,
    "h": 135.2
  },
  "luminance": 0.06261
}

Semantic roles & 50–950 ramp

primary
#2A500E
secondary
#642F8B
accent
#3BEDA1
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2A500E

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

Preview Lab → · Contrast checker → · Palette generator →

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