#2B5414#2B5414

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

Color values

HEX#2B5414
RGBrgb(43, 84, 20)
HSLhsl(98, 62%, 20%)
HSVhsv(98, 76%, 33%)
CMYKcmyk(48.8%, 0%, 76.2%, 67.1%)
CIE-LABlab(31.59, -27.06, 31.40)
CIE-LCHlch(31.59, 41.45, 130.75°)
OKLaboklab(40.12% -0.0751 0.0713)
OKLCHoklch(40.12% 0.104 136.5)
XYZxyz(4.2927, 6.9045, 1.7682)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5414 #3D1454
analogous
#4B5414 #2B5414 #14541D
triadic
#2B5414 #142B54 #54142B
tetradic
#2B5414 #144B54 #3D1454 #541D14
square
#2B5414 #144B54 #3D1454 #541D14
split-complementary
#2B5414 #1D1454 #54144B
monochromatic
#0D1906 #122308 #2B5414 #448520 #5EB72C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B5414#FFFFFF#000000##FFFFFF
##2B54141.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)
#574C0A
Deuteranopia (green-blind)
#52491A
Tritanopia (blue-blind)
#295147
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b5414;
/* rgb */ color: rgb(43, 84, 20);
/* oklch */ color: oklch(40.1% 0.104 136.5);
Tailwind
colors: {
  custom: {
    50: '#698456',
    500: '#2b5414',
    950: '#000000',
  },
}
SCSS
$custom: #2b5414;
$custom-light: #698456;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5414",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 20
  },
  "hsl": {
    "h": 98.438,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40119,
    "c": 0.10356,
    "h": 136.5
  },
  "luminance": 0.06905
}

Semantic roles & 50–950 ramp

primary
#2B5414
secondary
#6E388C
accent
#43E5AB
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2B5414

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

Preview Lab → · Contrast checker → · Palette generator →

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