#2D550C#2D550C

#2D550C is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.5% C 0.109 H 134.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#2D550C
RGBrgb(45, 85, 12)
HSLhsl(93, 75%, 19%)
HSVhsv(93, 86%, 33%)
CMYKcmyk(47.1%, 0%, 85.9%, 66.7%)
CIE-LABlab(31.99, -27.37, 34.98)
CIE-LCHlch(31.99, 44.41, 128.04°)
OKLaboklab(40.46% -0.0767 0.0774)
OKLCHoklch(40.46% 0.109 134.7)
XYZxyz(4.3970, 7.0812, 1.4829)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D550C #340C55
analogous
#52550C #2D550C #0C5510
triadic
#2D550C #0C2D55 #550C2D
tetradic
#2D550C #0C5255 #340C55 #55100C
square
#2D550C #0C5255 #340C55 #55100C
split-complementary
#2D550C #100C55 #550C52
monochromatic
#0E1B04 #111F04 #2D550C #498B14 #66C01B

Accessibility & contrast

On white

8.69
#2D550C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2D550C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D550C
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D550C#FFFFFF#000000##FFFFFF
##2D550C1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594D00
Deuteranopia (green-blind)
#534A14
Tritanopia (blue-blind)
#2C5148
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d550c;
/* rgb */ color: rgb(45, 85, 12);
/* oklch */ color: oklch(40.5% 0.109 134.7);
Tailwind
colors: {
  custom: {
    50: '#6b8552',
    500: '#2d550c',
    950: '#000000',
  },
}
SCSS
$custom: #2d550c;
$custom-light: #6b8552;
$custom-dark: #000000;
JSON
{
  "hex": "#2d550c",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 12
  },
  "hsl": {
    "h": 92.877,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40459,
    "c": 0.10897,
    "h": 134.7
  },
  "luminance": 0.07081
}

Semantic roles & 50–950 ramp

primary
#2D550C
secondary
#632D90
accent
#36F29D
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #2D550C

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

Preview Lab → · Contrast checker → · Palette generator →

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