#2B5814#2B5814

#2B5814 is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.3% C 0.109 H 137.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#2B5814
RGBrgb(43, 88, 20)
HSLhsl(100, 63%, 21%)
HSVhsv(100, 77%, 35%)
CMYKcmyk(51.1%, 0%, 77.3%, 65.5%)
CIE-LABlab(33.01, -28.89, 32.86)
CIE-LCHlch(33.01, 43.76, 131.32°)
OKLaboklab(41.29% -0.0801 0.0743)
OKLCHoklch(41.29% 0.109 137.1)
XYZxyz(4.6121, 7.5432, 1.8746)
Luminance0.0754 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5814 #411458
analogous
#4D5814 #2B5814 #14581F
triadic
#2B5814 #142B58 #58142B
tetradic
#2B5814 #144D58 #411458 #581F14
square
#2B5814 #144D58 #411458 #581F14
split-complementary
#2B5814 #1F1458 #58144D
monochromatic
#0C1906 #132609 #2B5814 #438A1F #5CBC2B

Accessibility & contrast

On white

8.37
#2B5814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2B5814 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5814
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5814#FFFFFF#000000##FFFFFF
##2B58141.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5008
Deuteranopia (green-blind)
#554C1B
Tritanopia (blue-blind)
#28554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b5814;
/* rgb */ color: rgb(43, 88, 20);
/* oklch */ color: oklch(41.3% 0.109 137.1);
Tailwind
colors: {
  custom: {
    50: '#698756',
    500: '#2b5814',
    950: '#000000',
  },
}
SCSS
$custom: #2b5814;
$custom-light: #698756;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5814",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 20
  },
  "hsl": {
    "h": 99.706,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41288,
    "c": 0.10925,
    "h": 137.1
  },
  "luminance": 0.07544
}

Semantic roles & 50–950 ramp

primary
#2B5814
secondary
#723890
accent
#42E6AE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B5814

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

Preview Lab → · Contrast checker → · Palette generator →

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