#2B550F#2B550F

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

Color values

HEX#2B550F
RGBrgb(43, 85, 15)
HSLhsl(96, 70%, 20%)
HSVhsv(96, 82%, 33%)
CMYKcmyk(49.4%, 0%, 82.4%, 66.7%)
CIE-LABlab(31.91, -27.92, 33.78)
CIE-LCHlch(31.91, 43.83, 129.57°)
OKLaboklab(40.37% -0.0778 0.0754)
OKLCHoklch(40.37% 0.108 135.9)
XYZxyz(4.3309, 7.0448, 1.5834)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B550F #390F55
analogous
#4E550F #2B550F #0F5516
triadic
#2B550F #0F2B55 #550F2B
tetradic
#2B550F #0F4E55 #390F55 #55160F
square
#2B550F #0F4E55 #390F55 #55160F
split-complementary
#2B550F #160F55 #550F4E
monochromatic
#0D1A05 #112106 #2B550F #458918 #60BD21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2b550f;
/* rgb */ color: rgb(43, 85, 15);
/* oklch */ color: oklch(40.4% 0.108 135.9);
Tailwind
colors: {
  custom: {
    50: '#698553',
    500: '#2b550f',
    950: '#000000',
  },
}
SCSS
$custom: #2b550f;
$custom-light: #698553;
$custom-dark: #000000;
JSON
{
  "hex": "#2b550f",
  "rgb": {
    "r": 43,
    "g": 85,
    "b": 15
  },
  "hsl": {
    "h": 96,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.4037,
    "c": 0.10838,
    "h": 135.9
  },
  "luminance": 0.07045
}

Semantic roles & 50–950 ramp

primary
#2B550F
secondary
#69318F
accent
#3BEDA6
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B550F

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

Preview Lab → · Contrast checker → · Palette generator →

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