#2B5F0E#2B5F0E

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

Color values

HEX#2B5F0E
RGBrgb(43, 95, 14)
HSLhsl(99, 74%, 21%)
HSVhsv(99, 85%, 37%)
CMYKcmyk(54.7%, 0%, 85.3%, 62.7%)
CIE-LABlab(35.46, -32.38, 37.51)
CIE-LCHlch(35.46, 49.55, 130.81°)
OKLaboklab(43.29% -0.0899 0.0831)
OKLCHoklch(43.29% 0.122 137.3)
XYZxyz(5.1676, 8.7293, 1.8280)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F0E #420E5F
analogous
#545F0E #2B5F0E #0E5F1A
triadic
#2B5F0E #0E2B5F #5F0E2B
tetradic
#2B5F0E #0E545F #420E5F #5F1A0E
square
#2B5F0E #0E545F #420E5F #5F1A0E
split-complementary
#2B5F0E #1A0E5F #5F0E54
monochromatic
#0C1B04 #132A06 #2B5F0E #439416 #5BCA1E

Accessibility & contrast

On white

7.65
#2B5F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B5F0E
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5F0E#FFFFFF#000000##FFFFFF
##2B5F0E1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b5f0e;
/* rgb */ color: rgb(43, 95, 14);
/* oklch */ color: oklch(43.3% 0.122 137.3);
Tailwind
colors: {
  custom: {
    50: '#6b8d55',
    500: '#2b5f0e',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f0e;
$custom-light: #6b8d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f0e",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 14
  },
  "hsl": {
    "h": 98.519,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43287,
    "c": 0.1224,
    "h": 137.3
  },
  "luminance": 0.0873
}

Semantic roles & 50–950 ramp

primary
#2B5F0E
secondary
#733099
accent
#37F1AE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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