#2B5F10#2B5F10

#2B5F10 is a dark, vivid yellow-green. Relative luminance 0.087; OKLCH L 43.3% C 0.121 H 137.5°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2B5F10
RGBrgb(43, 95, 16)
HSLhsl(99, 71%, 22%)
HSVhsv(99, 83%, 37%)
CMYKcmyk(54.7%, 0%, 83.2%, 62.7%)
CIE-LABlab(35.47, -32.26, 36.84)
CIE-LCHlch(35.47, 48.96, 131.21°)
OKLaboklab(43.3% -0.0894 0.082)
OKLCHoklch(43.3% 0.121 137.5)
XYZxyz(5.1818, 8.7350, 1.9031)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F10 #44105F
analogous
#535F10 #2B5F10 #105F1D
triadic
#2B5F10 #102B5F #5F102B
tetradic
#2B5F10 #10535F #44105F #5F1D10
square
#2B5F10 #10535F #44105F #5F1D10
split-complementary
#2B5F10 #1D105F #5F1053
monochromatic
#0C1A04 #132B07 #2B5F10 #439319 #5AC822

Accessibility & contrast

On white

7.64
#2B5F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2B5F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5F10
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5F10#FFFFFF#000000##FFFFFF
##2B5F101.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#5C5219
Tritanopia (blue-blind)
#275B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b5f10;
/* rgb */ color: rgb(43, 95, 16);
/* oklch */ color: oklch(43.3% 0.121 137.5);
Tailwind
colors: {
  custom: {
    50: '#6b8d55',
    500: '#2b5f10',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f10;
$custom-light: #6b8d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f10",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 16
  },
  "hsl": {
    "h": 99.494,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.433,
    "c": 0.12133,
    "h": 137.5
  },
  "luminance": 0.08735
}

Semantic roles & 50–950 ramp

primary
#2B5F10
secondary
#753398
accent
#3AEEB0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5F10

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

Preview Lab → · Contrast checker → · Palette generator →

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