#2F5D0E#2F5D0E

#2F5D0E is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 42.9% C 0.118 H 135.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2F5D0E
RGBrgb(47, 93, 14)
HSLhsl(95, 74%, 21%)
HSVhsv(95, 85%, 36%)
CMYKcmyk(49.5%, 0%, 84.9%, 63.5%)
CIE-LABlab(34.93, -30.14, 37.08)
CIE-LCHlch(34.93, 47.79, 129.10°)
OKLaboklab(42.9% -0.0842 0.0821)
OKLCHoklch(42.9% 0.118 135.7)
XYZxyz(5.1658, 8.4644, 1.7770)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D0E #3C0E5D
analogous
#565D0E #2F5D0E #0E5D14
triadic
#2F5D0E #0E2F5D #5D0E2F
tetradic
#2F5D0E #0E565D #3C0E5D #5D140E
square
#2F5D0E #0E565D #3C0E5D #5D140E
split-complementary
#2F5D0E #140E5D #5D0E56
monochromatic
#0D1B04 #142806 #2F5D0E #4A9216 #65C71E

Accessibility & contrast

On white

7.80
#2F5D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2F5D0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5D0E
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D0E#FFFFFF#000000##FFFFFF
##2F5D0E1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615500
Deuteranopia (green-blind)
#5B5117
Tritanopia (blue-blind)
#2D594E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f5d0e;
/* rgb */ color: rgb(47, 93, 14);
/* oklch */ color: oklch(42.9% 0.118 135.7);
Tailwind
colors: {
  custom: {
    50: '#6d8b54',
    500: '#2f5d0e',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d0e;
$custom-light: #6d8b54;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d0e",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 14
  },
  "hsl": {
    "h": 94.937,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42904,
    "c": 0.11757,
    "h": 135.7
  },
  "luminance": 0.08465
}

Semantic roles & 50–950 ramp

primary
#2F5D0E
secondary
#6C3097
accent
#37F0A3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F5D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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