#2A550C#2A550C

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

Color values

HEX#2A550C
RGBrgb(42, 85, 12)
HSLhsl(95, 75%, 19%)
HSVhsv(95, 86%, 33%)
CMYKcmyk(50.6%, 0%, 85.9%, 66.7%)
CIE-LABlab(31.84, -28.48, 34.79)
CIE-LCHlch(31.84, 44.96, 129.30°)
OKLaboklab(40.3% -0.0795 0.077)
OKLCHoklch(40.3% 0.111 135.9)
XYZxyz(4.2696, 7.0155, 1.4769)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A550C #370C55
analogous
#4F550C #2A550C #0C5512
triadic
#2A550C #0C2A55 #550C2A
tetradic
#2A550C #0C4F55 #370C55 #55120C
square
#2A550C #0C4F55 #370C55 #55120C
split-complementary
#2A550C #120C55 #550C4F
monochromatic
#0D1B04 #101F04 #2A550C #458B14 #5FC01B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A550C#FFFFFF#000000##FFFFFF
##2A550C1.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)
#534A14
Tritanopia (blue-blind)
#285148
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a550c;
/* rgb */ color: rgb(42, 85, 12);
/* oklch */ color: oklch(40.3% 0.111 135.9);
Tailwind
colors: {
  custom: {
    50: '#698552',
    500: '#2a550c',
    950: '#000000',
  },
}
SCSS
$custom: #2a550c;
$custom-light: #698552;
$custom-dark: #000000;
JSON
{
  "hex": "#2a550c",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 12
  },
  "hsl": {
    "h": 95.342,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40296,
    "c": 0.11069,
    "h": 135.9
  },
  "luminance": 0.07016
}

Semantic roles & 50–950 ramp

primary
#2A550C
secondary
#672D90
accent
#36F2A5
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #2A550C

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

Preview Lab → · Contrast checker → · Palette generator →

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