#2B6010#2B6010

#2B6010 is a dark, vivid yellow-green. Relative luminance 0.089; OKLCH L 43.6% C 0.123 H 137.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#2B6010
RGBrgb(43, 96, 16)
HSLhsl(100, 71%, 22%)
HSVhsv(100, 83%, 38%)
CMYKcmyk(55.2%, 0%, 83.3%, 62.4%)
CIE-LABlab(35.82, -32.68, 37.17)
CIE-LCHlch(35.82, 49.50, 131.32°)
OKLaboklab(43.59% -0.0906 0.0827)
OKLCHoklch(43.59% 0.123 137.6)
XYZxyz(5.2725, 8.9163, 1.9333)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6010 #451060
analogous
#536010 #2B6010 #10601D
triadic
#2B6010 #102B60 #60102B
tetradic
#2B6010 #105360 #451060 #601D10
square
#2B6010 #105360 #451060 #601D10
split-complementary
#2B6010 #1D1060 #601053
monochromatic
#0C1A04 #142C07 #2B6010 #429419 #5AC921

Accessibility & contrast

On white

7.54
#2B6010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2B6010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B6010
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6010#FFFFFF#000000##FFFFFF
##2B60101.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635700
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#275C51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b6010;
/* rgb */ color: rgb(43, 96, 16);
/* oklch */ color: oklch(43.6% 0.123 137.6);
Tailwind
colors: {
  custom: {
    50: '#6b8e56',
    500: '#2b6010',
    950: '#000000',
  },
}
SCSS
$custom: #2b6010;
$custom-light: #6b8e56;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6010",
  "rgb": {
    "r": 43,
    "g": 96,
    "b": 16
  },
  "hsl": {
    "h": 99.75,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43591,
    "c": 0.12265,
    "h": 137.6
  },
  "luminance": 0.08917
}

Semantic roles & 50–950 ramp

primary
#2B6010
secondary
#763399
accent
#3AEEB1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B6010

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

Preview Lab → · Contrast checker → · Palette generator →

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