#2F5D0D#2F5D0D

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

Color values

HEX#2F5D0D
RGBrgb(47, 93, 13)
HSLhsl(95, 75%, 21%)
HSVhsv(95, 86%, 36%)
CMYKcmyk(49.5%, 0%, 86%, 63.5%)
CIE-LABlab(34.93, -30.20, 37.41)
CIE-LCHlch(34.93, 48.08, 128.91°)
OKLaboklab(42.9% -0.0844 0.0826)
OKLCHoklch(42.9% 0.118 135.6)
XYZxyz(5.1592, 8.4618, 1.7421)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D0D #3B0D5D
analogous
#575D0D #2F5D0D #0D5D13
triadic
#2F5D0D #0D2F5D #5D0D2F
tetradic
#2F5D0D #0D575D #3B0D5D #5D130D
square
#2F5D0D #0D575D #3B0D5D #5D130D
split-complementary
#2F5D0D #130D5D #5D0D57
monochromatic
#0E1B04 #142705 #2F5D0D #4A9315 #65C81C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F5D0D#FFFFFF#000000##FFFFFF
##2F5D0D1.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)
#615400
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#2D594E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f5d0d;
/* rgb */ color: rgb(47, 93, 13);
/* oklch */ color: oklch(42.9% 0.118 135.6);
Tailwind
colors: {
  custom: {
    50: '#6d8b54',
    500: '#2f5d0d',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d0d;
$custom-light: #6d8b54;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d0d",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 13
  },
  "hsl": {
    "h": 94.5,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42898,
    "c": 0.1181,
    "h": 135.6
  },
  "luminance": 0.08462
}

Semantic roles & 50–950 ramp

primary
#2F5D0D
secondary
#6B2F97
accent
#36F2A2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F5D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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