#2B5711#2B5711

#2B5711 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.0% C 0.110 H 136.5°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2B5711
RGBrgb(43, 87, 17)
HSLhsl(98, 67%, 20%)
HSVhsv(98, 80%, 34%)
CMYKcmyk(50.6%, 0%, 80.5%, 65.9%)
CIE-LABlab(32.64, -28.68, 33.72)
CIE-LCHlch(32.64, 44.26, 130.38°)
OKLaboklab(40.97% -0.0797 0.0756)
OKLCHoklch(40.97% 0.11 136.5)
XYZxyz(4.5055, 7.3702, 1.7154)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5711 #3D1157
analogous
#4E5711 #2B5711 #11571A
triadic
#2B5711 #112B57 #57112B
tetradic
#2B5711 #114E57 #3D1157 #571A11
square
#2B5711 #114E57 #3D1157 #571A11
split-complementary
#2B5711 #1A1157 #57114E
monochromatic
#0D1A05 #122407 #2B5711 #448A1B #5EBD25

Accessibility & contrast

On white

8.49
#2B5711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2B5711 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5711
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5711#FFFFFF#000000##FFFFFF
##2B57111.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F04
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#29544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b5711;
/* rgb */ color: rgb(43, 87, 17);
/* oklch */ color: oklch(41.0% 0.110 136.5);
Tailwind
colors: {
  custom: {
    50: '#698755',
    500: '#2b5711',
    950: '#000000',
  },
}
SCSS
$custom: #2b5711;
$custom-light: #698755;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5711",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 17
  },
  "hsl": {
    "h": 97.714,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40971,
    "c": 0.10989,
    "h": 136.5
  },
  "luminance": 0.0737
}

Semantic roles & 50–950 ramp

primary
#2B5711
secondary
#6E3490
accent
#3EEAAA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B5711

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

Preview Lab → · Contrast checker → · Palette generator →

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