#2B4E14#2B4E14

#2B4E14 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.4% C 0.095 H 135.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#2B4E14
RGBrgb(43, 78, 20)
HSLhsl(96, 59%, 19%)
HSVhsv(96, 74%, 31%)
CMYKcmyk(44.9%, 0%, 74.4%, 69.4%)
CIE-LABlab(29.44, -24.21, 29.17)
CIE-LCHlch(29.44, 37.91, 129.70°)
OKLaboklab(38.36% -0.0674 0.0666)
OKLCHoklch(38.36% 0.095 135.4)
XYZxyz(3.8468, 6.0127, 1.6196)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E14 #37144E
analogous
#484E14 #2B4E14 #144E1A
triadic
#2B4E14 #142B4E #4E142B
tetradic
#2B4E14 #14484E #37144E #4E1A14
square
#2B4E14 #14484E #37144E #4E1A14
split-complementary
#2B4E14 #1A144E #4E1448
monochromatic
#0D1806 #101D08 #2B4E14 #467F20 #61AF2D

Accessibility & contrast

On white

9.53
#2B4E14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2B4E14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E14
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E14#FFFFFF#000000##FFFFFF
##2B4E141.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470C
Deuteranopia (green-blind)
#4C4419
Tritanopia (blue-blind)
#2A4B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b4e14;
/* rgb */ color: rgb(43, 78, 20);
/* oklch */ color: oklch(38.4% 0.095 135.4);
Tailwind
colors: {
  custom: {
    50: '#688055',
    500: '#2b4e14',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e14;
$custom-light: #688055;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e14",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 20
  },
  "hsl": {
    "h": 96.207,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38362,
    "c": 0.09474,
    "h": 135.4
  },
  "luminance": 0.06013
}

Semantic roles & 50–950 ramp

primary
#2B4E14
secondary
#673886
accent
#45E2A4
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B4E14

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

Preview Lab → · Contrast checker → · Palette generator →

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