#2B4103#2B4103

#2B4103 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.4% C 0.088 H 128.4°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#2B4103
RGBrgb(43, 65, 3)
HSLhsl(81, 91%, 13%)
HSVhsv(81, 95%, 25%)
CMYKcmyk(33.8%, 0%, 95.4%, 74.5%)
CIE-LABlab(24.64, -18.89, 31.57)
CIE-LCHlch(24.64, 36.79, 120.89°)
OKLaboklab(34.4% -0.0545 0.0687)
OKLCHoklch(34.4% 0.088 128.4)
XYZxyz(2.9030, 4.3007, 0.7633)
Luminance0.0430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4103 #190341
analogous
#413803 #2B4103 #0C4103
triadic
#2B4103 #032B41 #41032B
tetradic
#2B4103 #034138 #190341 #41030C
square
#2B4103 #034138 #190341 #41030C
split-complementary
#2B4103 #030C41 #380341
monochromatic
#131D01 #131D01 #2B4103 #527B06 #78B608

Accessibility & contrast

On white

11.29
#2B4103 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2B4103 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4103
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4103#FFFFFF#000000##FFFFFF
##2B41031.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453B00
Deuteranopia (green-blind)
#423A09
Tritanopia (blue-blind)
#2D3E36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b4103;
/* rgb */ color: rgb(43, 65, 3);
/* oklch */ color: oklch(34.4% 0.088 128.4);
Tailwind
colors: {
  custom: {
    50: '#67754a',
    500: '#2b4103',
    950: '#000000',
  },
}
SCSS
$custom: #2b4103;
$custom-light: #67754a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4103",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 3
  },
  "hsl": {
    "h": 81.29,
    "s": 91.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.34401,
    "c": 0.08773,
    "h": 128.4
  },
  "luminance": 0.04301
}

Semantic roles & 50–950 ramp

primary
#2B4103
secondary
#411D83
accent
#29FF75
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2B4103

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

Preview Lab → · Contrast checker → · Palette generator →

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