#2B5710#2B5710

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

Color values

HEX#2B5710
RGBrgb(43, 87, 16)
HSLhsl(97, 69%, 20%)
HSVhsv(97, 82%, 34%)
CMYKcmyk(50.6%, 0%, 81.6%, 65.9%)
CIE-LABlab(32.63, -28.75, 34.10)
CIE-LCHlch(32.63, 44.60, 130.14°)
OKLaboklab(40.96% -0.08 0.0763)
OKLCHoklch(40.96% 0.111 136.4)
XYZxyz(4.4979, 7.3671, 1.6751)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5710 #3C1057
analogous
#4E5710 #2B5710 #105718
triadic
#2B5710 #102B57 #57102B
tetradic
#2B5710 #104E57 #3C1057 #571810
square
#2B5710 #104E57 #3C1057 #571810
split-complementary
#2B5710 #181057 #57104E
monochromatic
#0D1A05 #112306 #2B5710 #458B1A #5EBE23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B5710#FFFFFF#000000##FFFFFF
##2B57101.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)
#5A4F03
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#29544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b5710;
/* rgb */ color: rgb(43, 87, 16);
/* oklch */ color: oklch(41.0% 0.111 136.4);
Tailwind
colors: {
  custom: {
    50: '#698754',
    500: '#2b5710',
    950: '#000000',
  },
}
SCSS
$custom: #2b5710;
$custom-light: #698754;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5710",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 16
  },
  "hsl": {
    "h": 97.183,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40963,
    "c": 0.11053,
    "h": 136.4
  },
  "luminance": 0.07367
}

Semantic roles & 50–950 ramp

primary
#2B5710
secondary
#6D3290
accent
#3CECA9
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B5710

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

Preview Lab → · Contrast checker → · Palette generator →

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