#2B5E0F#2B5E0F

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

Color values

HEX#2B5E0F
RGBrgb(43, 94, 15)
HSLhsl(99, 72%, 21%)
HSVhsv(99, 84%, 37%)
CMYKcmyk(54.3%, 0%, 84%, 63.1%)
CIE-LABlab(35.11, -31.90, 36.84)
CIE-LCHlch(35.11, 48.73, 130.88°)
OKLaboklab(43% -0.0885 0.0818)
OKLCHoklch(43% 0.121 137.2)
XYZxyz(5.0850, 8.5531, 1.8348)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5E0F #420F5E
analogous
#535E0F #2B5E0F #0F5E1B
triadic
#2B5E0F #0F2B5E #5E0F2B
tetradic
#2B5E0F #0F535E #420F5E #5E1B0F
square
#2B5E0F #0F535E #420F5E #5E1B0F
split-complementary
#2B5E0F #1B0F5E #5E0F53
monochromatic
#0C1A04 #132907 #2B5E0F #439317 #5BC820

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B5E0F#FFFFFF#000000##FFFFFF
##2B5E0F1.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)
#5B5118
Tritanopia (blue-blind)
#285A4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b5e0f;
/* rgb */ color: rgb(43, 94, 15);
/* oklch */ color: oklch(43.0% 0.121 137.2);
Tailwind
colors: {
  custom: {
    50: '#6b8c55',
    500: '#2b5e0f',
    950: '#000000',
  },
}
SCSS
$custom: #2b5e0f;
$custom-light: #6b8c55;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5e0f",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 15
  },
  "hsl": {
    "h": 98.734,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43002,
    "c": 0.12056,
    "h": 137.2
  },
  "luminance": 0.08553
}

Semantic roles & 50–950 ramp

primary
#2B5E0F
secondary
#733197
accent
#39EFAE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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