#2A5D0E#2A5D0E

#2A5D0E is a dark, vivid yellow-green. Relative luminance 0.084; OKLCH L 42.7% C 0.120 H 137.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#2A5D0E
RGBrgb(42, 93, 14)
HSLhsl(99, 74%, 21%)
HSVhsv(99, 85%, 36%)
CMYKcmyk(54.8%, 0%, 84.9%, 63.5%)
CIE-LABlab(34.71, -31.86, 36.79)
CIE-LCHlch(34.71, 48.67, 130.89°)
OKLaboklab(42.66% -0.0884 0.0816)
OKLCHoklch(42.66% 0.12 137.3)
XYZxyz(4.9483, 8.3523, 1.7668)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5D0E #410E5D
analogous
#515D0E #2A5D0E #0E5D19
triadic
#2A5D0E #0E2A5D #5D0E2A
tetradic
#2A5D0E #0E515D #410E5D #5D190E
square
#2A5D0E #0E515D #410E5D #5D190E
split-complementary
#2A5D0E #190E5D #5D0E51
monochromatic
#0C1B04 #122806 #2A5D0E #429216 #5AC71E

Accessibility & contrast

On white

7.86
#2A5D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2A5D0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5D0E
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5D0E#FFFFFF#000000##FFFFFF
##2A5D0E1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#27594E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a5d0e;
/* rgb */ color: rgb(42, 93, 14);
/* oklch */ color: oklch(42.7% 0.120 137.3);
Tailwind
colors: {
  custom: {
    50: '#6a8b54',
    500: '#2a5d0e',
    950: '#000000',
  },
}
SCSS
$custom: #2a5d0e;
$custom-light: #6a8b54;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5d0e",
  "rgb": {
    "r": 42,
    "g": 93,
    "b": 14
  },
  "hsl": {
    "h": 98.734,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42656,
    "c": 0.12031,
    "h": 137.3
  },
  "luminance": 0.08353
}

Semantic roles & 50–950 ramp

primary
#2A5D0E
secondary
#723097
accent
#37F0AF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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