#2B4A14#2B4A14

#2B4A14 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.2% C 0.089 H 134.4°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#2B4A14
RGBrgb(43, 74, 20)
HSLhsl(94, 57%, 18%)
HSVhsv(94, 73%, 29%)
CMYKcmyk(41.9%, 0%, 73%, 71%)
CIE-LABlab(28.01, -22.24, 27.64)
CIE-LCHlch(28.01, 35.48, 128.81°)
OKLaboklab(37.19% -0.062 0.0634)
OKLCHoklch(37.19% 0.089 134.4)
XYZxyz(3.5712, 5.4615, 1.5277)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4A14 #33144A
analogous
#464A14 #2B4A14 #144A18
triadic
#2B4A14 #142B4A #4A142B
tetradic
#2B4A14 #14464A #33144A #4A1814
square
#2B4A14 #14464A #33144A #4A1814
split-complementary
#2B4A14 #18144A #4A1446
monochromatic
#0E1807 #0F1A07 #2B4A14 #477A21 #63AA2E

Accessibility & contrast

On white

10.04
#2B4A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2B4A14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4A14
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4A14#FFFFFF#000000##FFFFFF
##2B4A141.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440D
Deuteranopia (green-blind)
#494119
Tritanopia (blue-blind)
#2B473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b4a14;
/* rgb */ color: rgb(43, 74, 20);
/* oklch */ color: oklch(37.2% 0.089 134.4);
Tailwind
colors: {
  custom: {
    50: '#677d55',
    500: '#2b4a14',
    950: '#000000',
  },
}
SCSS
$custom: #2b4a14;
$custom-light: #677d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4a14",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 20
  },
  "hsl": {
    "h": 94.444,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3719,
    "c": 0.08867,
    "h": 134.4
  },
  "luminance": 0.05462
}

Semantic roles & 50–950 ramp

primary
#2B4A14
secondary
#623882
accent
#47E19F
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B4A14

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

Preview Lab → · Contrast checker → · Palette generator →

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