#2B550C#2B550C

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

Color values

HEX#2B550C
RGBrgb(43, 85, 12)
HSLhsl(95, 75%, 19%)
HSVhsv(95, 86%, 33%)
CMYKcmyk(49.4%, 0%, 85.9%, 66.7%)
CIE-LABlab(31.89, -28.11, 34.85)
CIE-LCHlch(31.89, 44.78, 128.89°)
OKLaboklab(40.35% -0.0786 0.0772)
OKLCHoklch(40.35% 0.11 135.5)
XYZxyz(4.3110, 7.0369, 1.4788)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B550C #360C55
analogous
#50550C #2B550C #0C5512
triadic
#2B550C #0C2B55 #550C2B
tetradic
#2B550C #0C5055 #360C55 #55120C
square
#2B550C #0C5055 #360C55 #55120C
split-complementary
#2B550C #120C55 #550C50
monochromatic
#0E1B04 #101F04 #2B550C #468B14 #61C01B

Accessibility & contrast

On white

8.72
#2B550C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B550C
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B550C#FFFFFF#000000##FFFFFF
##2B550C1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b550c;
/* rgb */ color: rgb(43, 85, 12);
/* oklch */ color: oklch(40.3% 0.110 135.5);
Tailwind
colors: {
  custom: {
    50: '#698552',
    500: '#2b550c',
    950: '#000000',
  },
}
SCSS
$custom: #2b550c;
$custom-light: #698552;
$custom-dark: #000000;
JSON
{
  "hex": "#2b550c",
  "rgb": {
    "r": 43,
    "g": 85,
    "b": 12
  },
  "hsl": {
    "h": 94.521,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40349,
    "c": 0.11012,
    "h": 135.5
  },
  "luminance": 0.07037
}

Semantic roles & 50–950 ramp

primary
#2B550C
secondary
#662D90
accent
#36F2A2
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #2B550C

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

Preview Lab → · Contrast checker → · Palette generator →

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