#2B5E0E#2B5E0E

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

Color values

HEX#2B5E0E
RGBrgb(43, 94, 14)
HSLhsl(98, 74%, 21%)
HSVhsv(98, 85%, 37%)
CMYKcmyk(54.3%, 0%, 85.1%, 63.1%)
CIE-LABlab(35.10, -31.96, 37.18)
CIE-LCHlch(35.10, 49.02, 130.68°)
OKLaboklab(43% -0.0888 0.0824)
OKLCHoklch(43% 0.121 137.1)
XYZxyz(5.0781, 8.5503, 1.7982)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5E0E #410E5E
analogous
#535E0E #2B5E0E #0E5E19
triadic
#2B5E0E #0E2B5E #5E0E2B
tetradic
#2B5E0E #0E535E #410E5E #5E190E
square
#2B5E0E #0E535E #410E5E #5E190E
split-complementary
#2B5E0E #190E5E #5E0E53
monochromatic
#0C1B04 #132906 #2B5E0E #439316 #5CC91E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2b5e0e;
/* rgb */ color: rgb(43, 94, 14);
/* oklch */ color: oklch(43.0% 0.121 137.1);
Tailwind
colors: {
  custom: {
    50: '#6b8c54',
    500: '#2b5e0e',
    950: '#000000',
  },
}
SCSS
$custom: #2b5e0e;
$custom-light: #6b8c54;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5e0e",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 14
  },
  "hsl": {
    "h": 98.25,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42996,
    "c": 0.12109,
    "h": 137.1
  },
  "luminance": 0.08551
}

Semantic roles & 50–950 ramp

primary
#2B5E0E
secondary
#723098
accent
#37F1AD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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