#2D550F#2D550F

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

Color values

HEX#2D550F
RGBrgb(45, 85, 15)
HSLhsl(94, 70%, 20%)
HSVhsv(94, 82%, 33%)
CMYKcmyk(47.1%, 0%, 82.4%, 66.7%)
CIE-LABlab(32.01, -27.17, 33.91)
CIE-LCHlch(32.01, 43.46, 128.70°)
OKLaboklab(40.48% -0.076 0.0757)
OKLCHoklch(40.48% 0.107 135.1)
XYZxyz(4.4168, 7.0891, 1.5875)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D550F #370F55
analogous
#50550F #2D550F #0F5514
triadic
#2D550F #0F2D55 #550F2D
tetradic
#2D550F #0F5055 #370F55 #55140F
square
#2D550F #0F5055 #370F55 #55140F
split-complementary
#2D550F #140F55 #550F50
monochromatic
#0E1A05 #112106 #2D550F #498918 #64BD21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D550F#FFFFFF#000000##FFFFFF
##2D550F1.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)
#584D02
Deuteranopia (green-blind)
#534A16
Tritanopia (blue-blind)
#2C5148
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d550f;
/* rgb */ color: rgb(45, 85, 15);
/* oklch */ color: oklch(40.5% 0.107 135.1);
Tailwind
colors: {
  custom: {
    50: '#6a8553',
    500: '#2d550f',
    950: '#000000',
  },
}
SCSS
$custom: #2d550f;
$custom-light: #6a8553;
$custom-dark: #000000;
JSON
{
  "hex": "#2d550f",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 15
  },
  "hsl": {
    "h": 94.286,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.4048,
    "c": 0.10723,
    "h": 135.1
  },
  "luminance": 0.07089
}

Semantic roles & 50–950 ramp

primary
#2D550F
secondary
#67318F
accent
#3BEDA1
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D550F

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

Preview Lab → · Contrast checker → · Palette generator →

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