#2B5313#2B5313

#2B5313 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.8% C 0.103 H 136.2°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#2B5313
RGBrgb(43, 83, 19)
HSLhsl(98, 63%, 20%)
HSVhsv(98, 77%, 33%)
CMYKcmyk(48.2%, 0%, 77.1%, 67.5%)
CIE-LABlab(31.22, -26.68, 31.47)
CIE-LCHlch(31.22, 41.26, 130.30°)
OKLaboklab(39.82% -0.0742 0.0712)
OKLCHoklch(39.82% 0.103 136.2)
XYZxyz(4.2069, 6.7469, 1.6966)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5313 #3B1353
analogous
#4B5313 #2B5313 #13531B
triadic
#2B5313 #132B53 #53132B
tetradic
#2B5313 #134B53 #3B1353 #531B13
square
#2B5313 #134B53 #3B1353 #531B13
split-complementary
#2B5313 #1B1353 #53134B
monochromatic
#0D1906 #112108 #2B5313 #45851E #5FB72A

Accessibility & contrast

On white

8.94
#2B5313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2B5313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5313
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5313#FFFFFF#000000##FFFFFF
##2B53131.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C09
Deuteranopia (green-blind)
#514819
Tritanopia (blue-blind)
#295046
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b5313;
/* rgb */ color: rgb(43, 83, 19);
/* oklch */ color: oklch(39.8% 0.103 136.2);
Tailwind
colors: {
  custom: {
    50: '#698455',
    500: '#2b5313',
    950: '#000000',
  },
}
SCSS
$custom: #2b5313;
$custom-light: #698455;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5313",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 19
  },
  "hsl": {
    "h": 97.5,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.39817,
    "c": 0.10286,
    "h": 136.2
  },
  "luminance": 0.06747
}

Semantic roles & 50–950 ramp

primary
#2B5313
secondary
#6C368B
accent
#42E6A8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2B5313

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

Preview Lab → · Contrast checker → · Palette generator →

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