#2B4B14#2B4B14

#2B4B14 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.5% C 0.090 H 134.6°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#2B4B14
RGBrgb(43, 75, 20)
HSLhsl(95, 58%, 19%)
HSVhsv(95, 73%, 29%)
CMYKcmyk(42.7%, 0%, 73.3%, 70.6%)
CIE-LABlab(28.37, -22.74, 28.03)
CIE-LCHlch(28.37, 36.09, 129.05°)
OKLaboklab(37.48% -0.0634 0.0642)
OKLCHoklch(37.48% 0.09 134.6)
XYZxyz(3.6385, 5.5961, 1.5501)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4B14 #34144B
analogous
#464B14 #2B4B14 #144B18
triadic
#2B4B14 #142B4B #4B142B
tetradic
#2B4B14 #14464B #34144B #4B1814
square
#2B4B14 #14464B #34144B #4B1814
split-complementary
#2B4B14 #18144B #4B1446
monochromatic
#0E1806 #0F1B07 #2B4B14 #477B21 #62AC2E

Accessibility & contrast

On white

9.91
#2B4B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2B4B14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4B14
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4B14#FFFFFF#000000##FFFFFF
##2B4B141.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450D
Deuteranopia (green-blind)
#4A4219
Tritanopia (blue-blind)
#2B4840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b4b14;
/* rgb */ color: rgb(43, 75, 20);
/* oklch */ color: oklch(37.5% 0.090 134.6);
Tailwind
colors: {
  custom: {
    50: '#677d55',
    500: '#2b4b14',
    950: '#000000',
  },
}
SCSS
$custom: #2b4b14;
$custom-light: #677d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4b14",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 20
  },
  "hsl": {
    "h": 94.909,
    "s": 57.895,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37483,
    "c": 0.0902,
    "h": 134.6
  },
  "luminance": 0.05596
}

Semantic roles & 50–950 ramp

primary
#2B4B14
secondary
#643883
accent
#47E1A1
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B4B14

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

Preview Lab → · Contrast checker → · Palette generator →

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