#2B5413#2B5413

#2B5413 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.1% C 0.104 H 136.3°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#2B5413
RGBrgb(43, 84, 19)
HSLhsl(98, 63%, 20%)
HSVhsv(98, 77%, 33%)
CMYKcmyk(48.8%, 0%, 77.4%, 67.1%)
CIE-LABlab(31.58, -27.15, 31.83)
CIE-LCHlch(31.58, 41.84, 130.46°)
OKLaboklab(40.11% -0.0754 0.072)
OKLCHoklch(40.11% 0.104 136.3)
XYZxyz(4.2840, 6.9010, 1.7223)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5413 #3C1354
analogous
#4B5413 #2B5413 #13541B
triadic
#2B5413 #132B54 #54132B
tetradic
#2B5413 #134B54 #3C1354 #541B13
square
#2B5413 #134B54 #3C1354 #541B13
split-complementary
#2B5413 #1B1354 #54134B
monochromatic
#0D1906 #112208 #2B5413 #45861E #5EB82A

Accessibility & contrast

On white

8.82
#2B5413 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2B5413 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5413
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5413#FFFFFF#000000##FFFFFF
##2B54131.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C08
Deuteranopia (green-blind)
#524919
Tritanopia (blue-blind)
#295147
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b5413;
/* rgb */ color: rgb(43, 84, 19);
/* oklch */ color: oklch(40.1% 0.104 136.3);
Tailwind
colors: {
  custom: {
    50: '#698455',
    500: '#2b5413',
    950: '#000000',
  },
}
SCSS
$custom: #2b5413;
$custom-light: #698455;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5413",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 19
  },
  "hsl": {
    "h": 97.846,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.4011,
    "c": 0.10429,
    "h": 136.3
  },
  "luminance": 0.06901
}

Semantic roles & 50–950 ramp

primary
#2B5413
secondary
#6D368C
accent
#42E6A9
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2B5413

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

Preview Lab → · Contrast checker → · Palette generator →

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