#2B4D14#2B4D14

#2B4D14 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.1% C 0.093 H 135.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2B4D14
RGBrgb(43, 77, 20)
HSLhsl(96, 59%, 19%)
HSVhsv(96, 74%, 30%)
CMYKcmyk(44.2%, 0%, 74%, 69.8%)
CIE-LABlab(29.09, -23.72, 28.79)
CIE-LCHlch(29.09, 37.30, 129.49°)
OKLaboklab(38.07% -0.0661 0.0658)
OKLCHoklch(38.07% 0.093 135.1)
XYZxyz(3.7763, 5.8717, 1.5960)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D14 #36144D
analogous
#484D14 #2B4D14 #144D1A
triadic
#2B4D14 #142B4D #4D142B
tetradic
#2B4D14 #14484D #36144D #4D1A14
square
#2B4D14 #14484D #36144D #4D1A14
split-complementary
#2B4D14 #1A144D #4D1448
monochromatic
#0E1806 #101C07 #2B4D14 #467E21 #61AE2D

Accessibility & contrast

On white

9.66
#2B4D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2B4D14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D14
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D14#FFFFFF#000000##FFFFFF
##2B4D141.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460C
Deuteranopia (green-blind)
#4B4419
Tritanopia (blue-blind)
#2A4A41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b4d14;
/* rgb */ color: rgb(43, 77, 20);
/* oklch */ color: oklch(38.1% 0.093 135.1);
Tailwind
colors: {
  custom: {
    50: '#687f55',
    500: '#2b4d14',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d14;
$custom-light: #687f55;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d14",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 20
  },
  "hsl": {
    "h": 95.789,
    "s": 58.763,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38069,
    "c": 0.09323,
    "h": 135.1
  },
  "luminance": 0.05872
}

Semantic roles & 50–950 ramp

primary
#2B4D14
secondary
#663885
accent
#46E2A3
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B4D14

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

Preview Lab → · Contrast checker → · Palette generator →

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