#2B510E#2B510E

#2B510E is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.2% C 0.103 H 135.0°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#2B510E
RGBrgb(43, 81, 14)
HSLhsl(94, 71%, 19%)
HSVhsv(94, 83%, 32%)
CMYKcmyk(46.9%, 0%, 82.7%, 68.2%)
CIE-LABlab(30.47, -26.13, 32.78)
CIE-LCHlch(30.47, 41.92, 128.57°)
OKLaboklab(39.19% -0.0731 0.0732)
OKLCHoklch(39.19% 0.103 135)
XYZxyz(4.0179, 6.4299, 1.4448)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B510E #340E51
analogous
#4C510E #2B510E #0E5112
triadic
#2B510E #0E2B51 #510E2B
tetradic
#2B510E #0E4C51 #340E51 #51120E
square
#2B510E #0E4C51 #340E51 #51120E
split-complementary
#2B510E #120E51 #510E4C
monochromatic
#0E1A05 #0F1D05 #2B510E #478517 #62B920

Accessibility & contrast

On white

9.19
#2B510E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2B510E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B510E
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B510E#FFFFFF#000000##FFFFFF
##2B510E1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A02
Deuteranopia (green-blind)
#4F4715
Tritanopia (blue-blind)
#2A4E44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b510e;
/* rgb */ color: rgb(43, 81, 14);
/* oklch */ color: oklch(39.2% 0.103 135.0);
Tailwind
colors: {
  custom: {
    50: '#698252',
    500: '#2b510e',
    950: '#000000',
  },
}
SCSS
$custom: #2b510e;
$custom-light: #698252;
$custom-dark: #000000;
JSON
{
  "hex": "#2b510e",
  "rgb": {
    "r": 43,
    "g": 81,
    "b": 14
  },
  "hsl": {
    "h": 94.03,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39189,
    "c": 0.10342,
    "h": 135
  },
  "luminance": 0.0643
}

Semantic roles & 50–950 ramp

primary
#2B510E
secondary
#642F8C
accent
#3AEDA0
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2B510E

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

Preview Lab → · Contrast checker → · Palette generator →

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