#2B4F0D#2B4F0D

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

Color values

HEX#2B4F0D
RGBrgb(43, 79, 13)
HSLhsl(93, 72%, 18%)
HSVhsv(93, 84%, 31%)
CMYKcmyk(45.6%, 0%, 83.5%, 69%)
CIE-LABlab(29.75, -25.26, 32.46)
CIE-LCHlch(29.75, 41.13, 127.89°)
OKLaboklab(38.59% -0.0708 0.0723)
OKLCHoklch(38.59% 0.101 134.4)
XYZxyz(3.8648, 6.1344, 1.3611)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4F0D #310D4F
analogous
#4C4F0D #2B4F0D #0D4F10
triadic
#2B4F0D #0D2B4F #4F0D2B
tetradic
#2B4F0D #0D4C4F #310D4F #4F100D
square
#2B4F0D #0D4C4F #310D4F #4F100D
split-complementary
#2B4F0D #100D4F #4F0D4C
monochromatic
#0E1A04 #0E1A04 #2B4F0D #488416 #64B81E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B4F0D#FFFFFF#000000##FFFFFF
##2B4F0D1.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)
#524801
Deuteranopia (green-blind)
#4E4514
Tritanopia (blue-blind)
#2A4C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b4f0d;
/* rgb */ color: rgb(43, 79, 13);
/* oklch */ color: oklch(38.6% 0.101 134.4);
Tailwind
colors: {
  custom: {
    50: '#688051',
    500: '#2b4f0d',
    950: '#000000',
  },
}
SCSS
$custom: #2b4f0d;
$custom-light: #688051;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4f0d",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 13
  },
  "hsl": {
    "h": 92.727,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38594,
    "c": 0.10122,
    "h": 134.4
  },
  "luminance": 0.06135
}

Semantic roles & 50–950 ramp

primary
#2B4F0D
secondary
#602E8A
accent
#39EE9C
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2B4F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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