#2A550D#2A550D

#2A550D is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.3% C 0.110 H 136.0°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2A550D
RGBrgb(42, 85, 13)
HSLhsl(96, 73%, 19%)
HSVhsv(96, 85%, 33%)
CMYKcmyk(50.6%, 0%, 84.7%, 66.7%)
CIE-LABlab(31.85, -28.41, 34.45)
CIE-LCHlch(31.85, 44.65, 129.52°)
OKLaboklab(40.3% -0.0792 0.0765)
OKLCHoklch(40.3% 0.11 136)
XYZxyz(4.2759, 7.0180, 1.5100)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A550D #380D55
analogous
#4E550D #2A550D #0D5514
triadic
#2A550D #0D2A55 #550D2A
tetradic
#2A550D #0D4E55 #380D55 #55140D
square
#2A550D #0D4E55 #380D55 #55140D
split-complementary
#2A550D #140D55 #550D4E
monochromatic
#0D1B04 #102005 #2A550D #448A15 #5EBF1D

Accessibility & contrast

On white

8.74
#2A550D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2A550D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A550D
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A550D#FFFFFF#000000##FFFFFF
##2A550D1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D00
Deuteranopia (green-blind)
#534A15
Tritanopia (blue-blind)
#285248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a550d;
/* rgb */ color: rgb(42, 85, 13);
/* oklch */ color: oklch(40.3% 0.110 136.0);
Tailwind
colors: {
  custom: {
    50: '#698552',
    500: '#2a550d',
    950: '#000000',
  },
}
SCSS
$custom: #2a550d;
$custom-light: #698552;
$custom-dark: #000000;
JSON
{
  "hex": "#2a550d",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 13
  },
  "hsl": {
    "h": 95.833,
    "s": 73.469,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40303,
    "c": 0.11013,
    "h": 136
  },
  "luminance": 0.07018
}

Semantic roles & 50–950 ramp

primary
#2A550D
secondary
#682E90
accent
#38F0A6
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #2A550D

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

Preview Lab → · Contrast checker → · Palette generator →

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