#2B5D0E#2B5D0E

#2B5D0E is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 42.7% C 0.120 H 137.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#2B5D0E
RGBrgb(43, 93, 14)
HSLhsl(98, 74%, 21%)
HSVhsv(98, 85%, 36%)
CMYKcmyk(53.8%, 0%, 84.9%, 63.5%)
CIE-LABlab(34.75, -31.53, 36.85)
CIE-LCHlch(34.75, 48.49, 130.55°)
OKLaboklab(42.7% -0.0876 0.0817)
OKLCHoklch(42.7% 0.12 137)
XYZxyz(4.9897, 8.3736, 1.7687)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5D0E #400E5D
analogous
#525D0E #2B5D0E #0E5D18
triadic
#2B5D0E #0E2B5D #5D0E2B
tetradic
#2B5D0E #0E525D #400E5D #5D180E
square
#2B5D0E #0E525D #400E5D #5D180E
split-complementary
#2B5D0E #180E5D #5D0E52
monochromatic
#0C1B04 #122806 #2B5D0E #449216 #5CC71E

Accessibility & contrast

On white

7.85
#2B5D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2B5D0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5D0E
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5D0E#FFFFFF#000000##FFFFFF
##2B5D0E1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#28594E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b5d0e;
/* rgb */ color: rgb(43, 93, 14);
/* oklch */ color: oklch(42.7% 0.120 137.0);
Tailwind
colors: {
  custom: {
    50: '#6a8b54',
    500: '#2b5d0e',
    950: '#000000',
  },
}
SCSS
$custom: #2b5d0e;
$custom-light: #6a8b54;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5d0e",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 14
  },
  "hsl": {
    "h": 97.975,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42704,
    "c": 0.11977,
    "h": 137
  },
  "luminance": 0.08374
}

Semantic roles & 50–950 ramp

primary
#2B5D0E
secondary
#713097
accent
#37F0AD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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