#2B5E10#2B5E10

#2B5E10 is a dark, vivid yellow-green. Relative luminance 0.086; OKLCH L 43.0% C 0.120 H 137.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#2B5E10
RGBrgb(43, 94, 16)
HSLhsl(99, 71%, 22%)
HSVhsv(99, 83%, 37%)
CMYKcmyk(54.3%, 0%, 83%, 63.1%)
CIE-LABlab(35.12, -31.83, 36.50)
CIE-LCHlch(35.12, 48.43, 131.09°)
OKLaboklab(43.01% -0.0883 0.0813)
OKLCHoklch(43.01% 0.12 137.4)
XYZxyz(5.0923, 8.5560, 1.8733)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5E10 #43105E
analogous
#525E10 #2B5E10 #105E1C
triadic
#2B5E10 #102B5E #5E102B
tetradic
#2B5E10 #10525E #43105E #5E1C10
square
#2B5E10 #10525E #43105E #5E1C10
split-complementary
#2B5E10 #1C105E #5E1052
monochromatic
#0C1A04 #132A07 #2B5E10 #439219 #5BC722

Accessibility & contrast

On white

7.75
#2B5E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2B5E10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5E10
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5E10#FFFFFF#000000##FFFFFF
##2B5E101.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615500
Deuteranopia (green-blind)
#5B5119
Tritanopia (blue-blind)
#285A4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b5e10;
/* rgb */ color: rgb(43, 94, 16);
/* oklch */ color: oklch(43.0% 0.120 137.4);
Tailwind
colors: {
  custom: {
    50: '#6b8c55',
    500: '#2b5e10',
    950: '#000000',
  },
}
SCSS
$custom: #2b5e10;
$custom-light: #6b8c55;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5e10",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 16
  },
  "hsl": {
    "h": 99.231,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43009,
    "c": 0.12001,
    "h": 137.4
  },
  "luminance": 0.08556
}

Semantic roles & 50–950 ramp

primary
#2B5E10
secondary
#743397
accent
#3AEEB0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5E10

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

Preview Lab → · Contrast checker → · Palette generator →

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