#2D5F0E#2D5F0E

#2D5F0E is a dark, vivid yellow-green. Relative luminance 0.088; OKLCH L 43.4% C 0.121 H 136.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2D5F0E
RGBrgb(45, 95, 14)
HSLhsl(97, 74%, 21%)
HSVhsv(97, 85%, 37%)
CMYKcmyk(52.6%, 0%, 85.3%, 62.7%)
CIE-LABlab(35.54, -31.71, 37.62)
CIE-LCHlch(35.54, 49.21, 130.13°)
OKLaboklab(43.38% -0.0882 0.0833)
OKLCHoklch(43.38% 0.121 136.7)
XYZxyz(5.2535, 8.7736, 1.8320)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F0E #400E5F
analogous
#565F0E #2D5F0E #0E5F18
triadic
#2D5F0E #0E2D5F #5F0E2D
tetradic
#2D5F0E #0E565F #400E5F #5F180E
square
#2D5F0E #0E565F #400E5F #5F180E
split-complementary
#2D5F0E #180E5F #5F0E56
monochromatic
#0D1B04 #142A06 #2D5F0E #469416 #60CA1E

Accessibility & contrast

On white

7.62
#2D5F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D5F0E
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F0E#FFFFFF#000000##FFFFFF
##2D5F0E1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635600
Deuteranopia (green-blind)
#5C5218
Tritanopia (blue-blind)
#2A5B50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d5f0e;
/* rgb */ color: rgb(45, 95, 14);
/* oklch */ color: oklch(43.4% 0.121 136.7);
Tailwind
colors: {
  custom: {
    50: '#6c8d55',
    500: '#2d5f0e',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f0e;
$custom-light: #6c8d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f0e",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 14
  },
  "hsl": {
    "h": 97.037,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43383,
    "c": 0.12133,
    "h": 136.7
  },
  "luminance": 0.08774
}

Semantic roles & 50–950 ramp

primary
#2D5F0E
secondary
#713099
accent
#37F1AA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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