#2B4F0E#2B4F0E

#2B4F0E is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.6% C 0.101 H 134.5°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#2B4F0E
RGBrgb(43, 79, 14)
HSLhsl(93, 70%, 18%)
HSVhsv(93, 82%, 31%)
CMYKcmyk(45.6%, 0%, 82.3%, 69%)
CIE-LABlab(29.76, -25.19, 32.08)
CIE-LCHlch(29.76, 40.79, 128.14°)
OKLaboklab(38.6% -0.0705 0.0717)
OKLCHoklch(38.6% 0.101 134.5)
XYZxyz(3.8714, 6.1371, 1.3960)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4F0E #320E4F
analogous
#4B4F0E #2B4F0E #0E4F12
triadic
#2B4F0E #0E2B4F #4F0E2B
tetradic
#2B4F0E #0E4B4F #320E4F #4F120E
square
#2B4F0E #0E4B4F #320E4F #4F120E
split-complementary
#2B4F0E #120E4F #4F0E4B
monochromatic
#0E1A05 #0F1B05 #2B4F0E #478317 #64B720

Accessibility & contrast

On white

9.43
#2B4F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2B4F0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4F0E
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4F0E#FFFFFF#000000##FFFFFF
##2B4F0E1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524803
Deuteranopia (green-blind)
#4D4515
Tritanopia (blue-blind)
#2A4C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b4f0e;
/* rgb */ color: rgb(43, 79, 14);
/* oklch */ color: oklch(38.6% 0.101 134.5);
Tailwind
colors: {
  custom: {
    50: '#688052',
    500: '#2b4f0e',
    950: '#000000',
  },
}
SCSS
$custom: #2b4f0e;
$custom-light: #688052;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4f0e",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 14
  },
  "hsl": {
    "h": 93.231,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38602,
    "c": 0.10058,
    "h": 134.5
  },
  "luminance": 0.06137
}

Semantic roles & 50–950 ramp

primary
#2B4F0E
secondary
#612F8A
accent
#3BED9D
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2B4F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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