#2B5A10#2B5A10

#2B5A10 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 41.8% C 0.115 H 136.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#2B5A10
RGBrgb(43, 90, 16)
HSLhsl(98, 70%, 21%)
HSVhsv(98, 82%, 35%)
CMYKcmyk(52.2%, 0%, 82.2%, 64.7%)
CIE-LABlab(33.70, -30.09, 35.14)
CIE-LCHlch(33.70, 46.26, 130.58°)
OKLaboklab(41.84% -0.0836 0.0784)
OKLCHoklch(41.84% 0.115 136.8)
XYZxyz(4.7458, 7.8630, 1.7577)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5A10 #3F105A
analogous
#505A10 #2B5A10 #105A1A
triadic
#2B5A10 #102B5A #5A102B
tetradic
#2B5A10 #10505A #3F105A #5A1A10
square
#2B5A10 #10505A #3F105A #5A1A10
split-complementary
#2B5A10 #1A105A #5A1050
monochromatic
#0C1A05 #122607 #2B5A10 #448E19 #5DC222

Accessibility & contrast

On white

8.16
#2B5A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2B5A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5A10
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5A10#FFFFFF#000000##FFFFFF
##2B5A101.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5201
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#28564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b5a10;
/* rgb */ color: rgb(43, 90, 16);
/* oklch */ color: oklch(41.8% 0.115 136.8);
Tailwind
colors: {
  custom: {
    50: '#6a8955',
    500: '#2b5a10',
    950: '#000000',
  },
}
SCSS
$custom: #2b5a10;
$custom-light: #6a8955;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5a10",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 16
  },
  "hsl": {
    "h": 98.108,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41841,
    "c": 0.11463,
    "h": 136.8
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#2B5A10
secondary
#703393
accent
#3BEDAC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B5A10

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

Preview Lab → · Contrast checker → · Palette generator →

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