#2F5E0D#2F5E0D

#2F5E0D is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.2% C 0.119 H 135.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2F5E0D
RGBrgb(47, 94, 13)
HSLhsl(95, 76%, 21%)
HSVhsv(95, 86%, 37%)
CMYKcmyk(50%, 0%, 86.2%, 63.1%)
CIE-LABlab(35.28, -30.64, 37.73)
CIE-LCHlch(35.28, 48.61, 129.08°)
OKLaboklab(43.19% -0.0856 0.0833)
OKLCHoklch(43.19% 0.119 135.8)
XYZxyz(5.2475, 8.6385, 1.7716)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5E0D #3C0D5E
analogous
#575E0D #2F5E0D #0D5E13
triadic
#2F5E0D #0D2F5E #5E0D2F
tetradic
#2F5E0D #0D575E #3C0D5E #5E130D
square
#2F5E0D #0D575E #3C0D5E #5E130D
split-complementary
#2F5E0D #130D5E #5E0D57
monochromatic
#0D1B04 #142806 #2F5E0D #4A9414 #65CA1C

Accessibility & contrast

On white

7.70
#2F5E0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2F5E0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5E0D
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5E0D#FFFFFF#000000##FFFFFF
##2F5E0D1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625500
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#2D5A4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f5e0d;
/* rgb */ color: rgb(47, 94, 13);
/* oklch */ color: oklch(43.2% 0.119 135.8);
Tailwind
colors: {
  custom: {
    50: '#6d8c54',
    500: '#2f5e0d',
    950: '#000000',
  },
}
SCSS
$custom: #2f5e0d;
$custom-light: #6d8c54;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5e0d",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 13
  },
  "hsl": {
    "h": 94.815,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43188,
    "c": 0.11942,
    "h": 135.8
  },
  "luminance": 0.08639
}

Semantic roles & 50–950 ramp

primary
#2F5E0D
secondary
#6C2F98
accent
#36F2A3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F5E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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