#2B500E#2B500E

#2B500E is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 38.9% C 0.102 H 134.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#2B500E
RGBrgb(43, 80, 14)
HSLhsl(94, 70%, 18%)
HSVhsv(94, 83%, 31%)
CMYKcmyk(46.2%, 0%, 82.5%, 68.6%)
CIE-LABlab(30.11, -25.66, 32.43)
CIE-LCHlch(30.11, 41.35, 128.36°)
OKLaboklab(38.9% -0.0718 0.0724)
OKLCHoklch(38.9% 0.102 134.8)
XYZxyz(3.9441, 6.2824, 1.4202)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B500E #330E50
analogous
#4C500E #2B500E #0E5012
triadic
#2B500E #0E2B50 #500E2B
tetradic
#2B500E #0E4C50 #330E50 #50120E
square
#2B500E #0E4C50 #330E50 #50120E
split-complementary
#2B500E #120E50 #500E4C
monochromatic
#0E1A05 #0F1C05 #2B500E #478417 #63B820

Accessibility & contrast

On white

9.31
#2B500E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2B500E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B500E
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B500E#FFFFFF#000000##FFFFFF
##2B500E1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534902
Deuteranopia (green-blind)
#4E4615
Tritanopia (blue-blind)
#2A4D43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b500e;
/* rgb */ color: rgb(43, 80, 14);
/* oklch */ color: oklch(38.9% 0.102 134.8);
Tailwind
colors: {
  custom: {
    50: '#688152',
    500: '#2b500e',
    950: '#000000',
  },
}
SCSS
$custom: #2b500e;
$custom-light: #688152;
$custom-dark: #000000;
JSON
{
  "hex": "#2b500e",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 14
  },
  "hsl": {
    "h": 93.636,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38896,
    "c": 0.102,
    "h": 134.8
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#2B500E
secondary
#622F8B
accent
#3BED9F
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2B500E

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

Preview Lab → · Contrast checker → · Palette generator →

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