#2F5F0D#2F5F0D

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

Color values

HEX#2F5F0D
RGBrgb(47, 95, 13)
HSLhsl(95, 76%, 21%)
HSVhsv(95, 86%, 37%)
CMYKcmyk(50.5%, 0%, 86.3%, 62.7%)
CIE-LABlab(35.63, -31.08, 38.06)
CIE-LCHlch(35.63, 49.13, 129.24°)
OKLaboklab(43.48% -0.0867 0.084)
OKLCHoklch(43.48% 0.121 135.9)
XYZxyz(5.3370, 8.8175, 1.8014)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F0D #3D0D5F
analogous
#585F0D #2F5F0D #0D5F14
triadic
#2F5F0D #0D2F5F #5F0D2F
tetradic
#2F5F0D #0D585F #3D0D5F #5F140D
square
#2F5F0D #0D585F #3D0D5F #5F140D
split-complementary
#2F5F0D #140D5F #5F0D58
monochromatic
#0D1B04 #142906 #2F5F0D #4A9514 #64CB1C

Accessibility & contrast

On white

7.60
#2F5F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2F5F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5F0D
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F0D#FFFFFF#000000##FFFFFF
##2F5F0D1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f5f0d;
/* rgb */ color: rgb(47, 95, 13);
/* oklch */ color: oklch(43.5% 0.121 135.9);
Tailwind
colors: {
  custom: {
    50: '#6d8d54',
    500: '#2f5f0d',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f0d;
$custom-light: #6d8d54;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f0d",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 13
  },
  "hsl": {
    "h": 95.122,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43477,
    "c": 0.12074,
    "h": 135.9
  },
  "luminance": 0.08818
}

Semantic roles & 50–950 ramp

primary
#2F5F0D
secondary
#6D2F99
accent
#35F3A4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F5F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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