#2F5C0D#2F5C0D

#2F5C0D is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.6% C 0.117 H 135.4°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#2F5C0D
RGBrgb(47, 92, 13)
HSLhsl(94, 75%, 21%)
HSVhsv(94, 86%, 36%)
CMYKcmyk(48.9%, 0%, 85.9%, 63.9%)
CIE-LABlab(34.57, -29.75, 37.08)
CIE-LCHlch(34.57, 47.54, 128.74°)
OKLaboklab(42.61% -0.0832 0.0819)
OKLCHoklch(42.61% 0.117 135.4)
XYZxyz(5.0720, 8.2874, 1.7131)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5C0D #3A0D5C
analogous
#565C0D #2F5C0D #0D5C12
triadic
#2F5C0D #0D2F5C #5C0D2F
tetradic
#2F5C0D #0D565C #3A0D5C #5C120D
square
#2F5C0D #0D565C #3A0D5C #5C120D
split-complementary
#2F5C0D #120D5C #5C0D56
monochromatic
#0E1B04 #142605 #2F5C0D #4A9215 #66C71C

Accessibility & contrast

On white

7.90
#2F5C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2F5C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5C0D
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5C0D#FFFFFF#000000##FFFFFF
##2F5C0D1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#5A5016
Tritanopia (blue-blind)
#2D584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f5c0d;
/* rgb */ color: rgb(47, 92, 13);
/* oklch */ color: oklch(42.6% 0.117 135.4);
Tailwind
colors: {
  custom: {
    50: '#6d8a54',
    500: '#2f5c0d',
    950: '#000000',
  },
}
SCSS
$custom: #2f5c0d;
$custom-light: #6d8a54;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5c0d",
  "rgb": {
    "r": 47,
    "g": 92,
    "b": 13
  },
  "hsl": {
    "h": 94.177,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42609,
    "c": 0.11676,
    "h": 135.4
  },
  "luminance": 0.08288
}

Semantic roles & 50–950 ramp

primary
#2F5C0D
secondary
#6A2F96
accent
#36F2A1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F5C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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