#2B5C0E#2B5C0E

#2B5C0E is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.4% C 0.118 H 136.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#2B5C0E
RGBrgb(43, 92, 14)
HSLhsl(98, 74%, 21%)
HSVhsv(98, 85%, 36%)
CMYKcmyk(53.3%, 0%, 84.8%, 63.9%)
CIE-LABlab(34.39, -31.10, 36.51)
CIE-LCHlch(34.39, 47.96, 130.42°)
OKLaboklab(42.41% -0.0864 0.081)
OKLCHoklch(42.41% 0.118 136.9)
XYZxyz(4.9025, 8.1992, 1.7397)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5C0E #3F0E5C
analogous
#525C0E #2B5C0E #0E5C18
triadic
#2B5C0E #0E2B5C #5C0E2B
tetradic
#2B5C0E #0E525C #3F0E5C #5C180E
square
#2B5C0E #0E525C #3F0E5C #5C180E
split-complementary
#2B5C0E #180E5C #5C0E52
monochromatic
#0C1B04 #122706 #2B5C0E #449116 #5DC61E

Accessibility & contrast

On white

7.95
#2B5C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2B5C0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5C0E
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5C0E#FFFFFF#000000##FFFFFF
##2B5C0E1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#594F17
Tritanopia (blue-blind)
#28584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b5c0e;
/* rgb */ color: rgb(43, 92, 14);
/* oklch */ color: oklch(42.4% 0.118 136.9);
Tailwind
colors: {
  custom: {
    50: '#6a8b54',
    500: '#2b5c0e',
    950: '#000000',
  },
}
SCSS
$custom: #2b5c0e;
$custom-light: #6a8b54;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5c0e",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 14
  },
  "hsl": {
    "h": 97.692,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42412,
    "c": 0.11845,
    "h": 136.9
  },
  "luminance": 0.082
}

Semantic roles & 50–950 ramp

primary
#2B5C0E
secondary
#703096
accent
#38F0AC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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