#2A5410#2A5410

#2A5410 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.0% C 0.107 H 136.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2A5410
RGBrgb(42, 84, 16)
HSLhsl(97, 68%, 20%)
HSVhsv(97, 81%, 33%)
CMYKcmyk(50%, 0%, 81%, 67.1%)
CIE-LABlab(31.51, -27.75, 32.99)
CIE-LCHlch(31.51, 43.11, 130.07°)
OKLaboklab(40.03% -0.0772 0.074)
OKLCHoklch(40.03% 0.107 136.2)
XYZxyz(4.2186, 6.8700, 1.5939)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5410 #3A1054
analogous
#4C5410 #2A5410 #105418
triadic
#2A5410 #102A54 #54102A
tetradic
#2A5410 #104C54 #3A1054 #541810
square
#2A5410 #104C54 #3A1054 #541810
split-complementary
#2A5410 #181054 #54104C
monochromatic
#0D1A05 #102106 #2A5410 #44871A #5DBB24

Accessibility & contrast

On white

8.85
#2A5410 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2A5410 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5410
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5410#FFFFFF#000000##FFFFFF
##2A54101.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C04
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#285147
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a5410;
/* rgb */ color: rgb(42, 84, 16);
/* oklch */ color: oklch(40.0% 0.107 136.2);
Tailwind
colors: {
  custom: {
    50: '#688454',
    500: '#2a5410',
    950: '#000000',
  },
}
SCSS
$custom: #2a5410;
$custom-light: #688454;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5410",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 16
  },
  "hsl": {
    "h": 97.059,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40031,
    "c": 0.10693,
    "h": 136.2
  },
  "luminance": 0.0687
}

Semantic roles & 50–950 ramp

primary
#2A5410
secondary
#6B328E
accent
#3DEBA8
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2A5410

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

Preview Lab → · Contrast checker → · Palette generator →

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