#2B5810#2B5810

#2B5810 is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.3% C 0.112 H 136.5°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#2B5810
RGBrgb(43, 88, 16)
HSLhsl(98, 69%, 20%)
HSVhsv(98, 82%, 35%)
CMYKcmyk(51.1%, 0%, 81.8%, 65.5%)
CIE-LABlab(32.98, -29.20, 34.45)
CIE-LCHlch(32.98, 45.16, 130.29°)
OKLaboklab(41.26% -0.0812 0.077)
OKLCHoklch(41.26% 0.112 136.5)
XYZxyz(4.5794, 7.5301, 1.7023)
Luminance0.0753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5810 #3D1058
analogous
#4F5810 #2B5810 #105819
triadic
#2B5810 #102B58 #58102B
tetradic
#2B5810 #104F58 #3D1058 #581910
square
#2B5810 #104F58 #3D1058 #581910
split-complementary
#2B5810 #191058 #58104F
monochromatic
#0D1A05 #122407 #2B5810 #448C19 #5EC023

Accessibility & contrast

On white

8.38
#2B5810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2B5810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5810
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5810#FFFFFF#000000##FFFFFF
##2B58101.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5002
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#29544A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b5810;
/* rgb */ color: rgb(43, 88, 16);
/* oklch */ color: oklch(41.3% 0.112 136.5);
Tailwind
colors: {
  custom: {
    50: '#6a8754',
    500: '#2b5810',
    950: '#000000',
  },
}
SCSS
$custom: #2b5810;
$custom-light: #6a8754;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5810",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 16
  },
  "hsl": {
    "h": 97.5,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41256,
    "c": 0.1119,
    "h": 136.5
  },
  "luminance": 0.0753
}

Semantic roles & 50–950 ramp

primary
#2B5810
secondary
#6E3291
accent
#3CECAA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B5810

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

Preview Lab → · Contrast checker → · Palette generator →

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