#2B4B10#2B4B10

#2B4B10 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.4% C 0.093 H 133.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#2B4B10
RGBrgb(43, 75, 16)
HSLhsl(93, 65%, 18%)
HSVhsv(93, 79%, 29%)
CMYKcmyk(42.7%, 0%, 78.7%, 70.6%)
CIE-LABlab(28.34, -23.09, 29.84)
CIE-LCHlch(28.34, 37.73, 127.74°)
OKLaboklab(37.44% -0.0647 0.0673)
OKLCHoklch(37.44% 0.093 133.9)
XYZxyz(3.6058, 5.5830, 1.3777)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4B10 #30104B
analogous
#484B10 #2B4B10 #104B12
triadic
#2B4B10 #102B4B #4B102B
tetradic
#2B4B10 #10484B #30104B #4B1210
square
#2B4B10 #10484B #30104B #4B1210
split-complementary
#2B4B10 #12104B #4B1048
monochromatic
#0E1905 #0E1905 #2B4B10 #487D1B #65B026

Accessibility & contrast

On white

9.92
#2B4B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2B4B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4B10
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4B10#FFFFFF#000000##FFFFFF
##2B4B101.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4406
Deuteranopia (green-blind)
#4A4215
Tritanopia (blue-blind)
#2B483F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b4b10;
/* rgb */ color: rgb(43, 75, 16);
/* oklch */ color: oklch(37.4% 0.093 133.9);
Tailwind
colors: {
  custom: {
    50: '#687d52',
    500: '#2b4b10',
    950: '#000000',
  },
}
SCSS
$custom: #2b4b10;
$custom-light: #687d52;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4b10",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 16
  },
  "hsl": {
    "h": 92.542,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37444,
    "c": 0.0934,
    "h": 133.9
  },
  "luminance": 0.05583
}

Semantic roles & 50–950 ramp

primary
#2B4B10
secondary
#5F3285
accent
#40E89B
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4B10

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

Preview Lab → · Contrast checker → · Palette generator →

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