#2C550F#2C550F

#2C550F is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.4% C 0.108 H 135.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#2C550F
RGBrgb(44, 85, 15)
HSLhsl(95, 70%, 20%)
HSVhsv(95, 82%, 33%)
CMYKcmyk(48.2%, 0%, 82.4%, 66.7%)
CIE-LABlab(31.96, -27.55, 33.85)
CIE-LCHlch(31.96, 43.64, 129.14°)
OKLaboklab(40.42% -0.0769 0.0756)
OKLCHoklch(40.42% 0.108 135.5)
XYZxyz(4.3733, 7.0667, 1.5854)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C550F #380F55
analogous
#4F550F #2C550F #0F5515
triadic
#2C550F #0F2C55 #550F2C
tetradic
#2C550F #0F4F55 #380F55 #55150F
square
#2C550F #0F4F55 #380F55 #55150F
split-complementary
#2C550F #150F55 #550F4F
monochromatic
#0D1A05 #112106 #2C550F #478918 #62BD21

Accessibility & contrast

On white

8.70
#2C550F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2C550F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C550F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C550F#FFFFFF#000000##FFFFFF
##2C550F1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D02
Deuteranopia (green-blind)
#534A16
Tritanopia (blue-blind)
#2B5148
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c550f;
/* rgb */ color: rgb(44, 85, 15);
/* oklch */ color: oklch(40.4% 0.108 135.5);
Tailwind
colors: {
  custom: {
    50: '#6a8553',
    500: '#2c550f',
    950: '#000000',
  },
}
SCSS
$custom: #2c550f;
$custom-light: #6a8553;
$custom-dark: #000000;
JSON
{
  "hex": "#2c550f",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 15
  },
  "hsl": {
    "h": 95.143,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40424,
    "c": 0.10781,
    "h": 135.5
  },
  "luminance": 0.07067
}

Semantic roles & 50–950 ramp

primary
#2C550F
secondary
#68318F
accent
#3BEDA3
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C550F

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

Preview Lab → · Contrast checker → · Palette generator →

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