#2B4F10#2B4F10

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

Color values

HEX#2B4F10
RGBrgb(43, 79, 16)
HSLhsl(94, 66%, 19%)
HSVhsv(94, 80%, 31%)
CMYKcmyk(45.6%, 0%, 79.7%, 69%)
CIE-LABlab(29.77, -25.04, 31.28)
CIE-LCHlch(29.77, 40.07, 128.68°)
OKLaboklab(38.62% -0.07 0.0704)
OKLCHoklch(38.62% 0.099 134.8)
XYZxyz(3.8857, 6.1428, 1.4710)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4F10 #34104F
analogous
#4A4F10 #2B4F10 #104F14
triadic
#2B4F10 #102B4F #4F102B
tetradic
#2B4F10 #104A4F #34104F #4F1410
square
#2B4F10 #104A4F #34104F #4F1410
split-complementary
#2B4F10 #14104F #4F104A
monochromatic
#0E1905 #0F1C06 #2B4F10 #47821A #62B525

Accessibility & contrast

On white

9.42
#2B4F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4F10
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4F10#FFFFFF#000000##FFFFFF
##2B4F101.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4f10;
/* rgb */ color: rgb(43, 79, 16);
/* oklch */ color: oklch(38.6% 0.099 134.8);
Tailwind
colors: {
  custom: {
    50: '#688053',
    500: '#2b4f10',
    950: '#000000',
  },
}
SCSS
$custom: #2b4f10;
$custom-light: #688053;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4f10",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 16
  },
  "hsl": {
    "h": 94.286,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38618,
    "c": 0.09924,
    "h": 134.8
  },
  "luminance": 0.06143
}

Semantic roles & 50–950 ramp

primary
#2B4F10
secondary
#643289
accent
#3FE9A0
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B4F10

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

Preview Lab → · Contrast checker → · Palette generator →

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