#2B5411#2B5411

#2B5411 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.1% C 0.106 H 136.0°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#2B5411
RGBrgb(43, 84, 17)
HSLhsl(97, 66%, 20%)
HSVhsv(97, 80%, 33%)
CMYKcmyk(48.8%, 0%, 79.8%, 67.1%)
CIE-LABlab(31.57, -27.31, 32.66)
CIE-LCHlch(31.57, 42.57, 129.90°)
OKLaboklab(40.09% -0.076 0.0734)
OKLCHoklch(40.09% 0.106 136)
XYZxyz(4.2677, 6.8944, 1.6361)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5411 #3A1154
analogous
#4D5411 #2B5411 #115418
triadic
#2B5411 #112B54 #54112B
tetradic
#2B5411 #114D54 #3A1154 #541811
square
#2B5411 #114D54 #3A1154 #541811
split-complementary
#2B5411 #181154 #54114D
monochromatic
#0D1905 #112107 #2B5411 #45871B #5FBA26

Accessibility & contrast

On white

8.83
#2B5411 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2B5411 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5411
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5411#FFFFFF#000000##FFFFFF
##2B54111.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C05
Deuteranopia (green-blind)
#524918
Tritanopia (blue-blind)
#295147
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b5411;
/* rgb */ color: rgb(43, 84, 17);
/* oklch */ color: oklch(40.1% 0.106 136.0);
Tailwind
colors: {
  custom: {
    50: '#698454',
    500: '#2b5411',
    950: '#000000',
  },
}
SCSS
$custom: #2b5411;
$custom-light: #698454;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5411",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 17
  },
  "hsl": {
    "h": 96.716,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40093,
    "c": 0.10569,
    "h": 136
  },
  "luminance": 0.06895
}

Semantic roles & 50–950 ramp

primary
#2B5411
secondary
#6A348D
accent
#3FE9A7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B5411

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

Preview Lab → · Contrast checker → · Palette generator →

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