#2F4C0E#2F4C0E

#2F4C0E is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.0% C 0.094 H 131.7°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2F4C0E
RGBrgb(47, 76, 14)
HSLhsl(88, 69%, 18%)
HSVhsv(88, 82%, 30%)
CMYKcmyk(38.2%, 0%, 81.6%, 70.2%)
CIE-LABlab(28.91, -22.09, 31.34)
CIE-LCHlch(28.91, 38.34, 125.18°)
OKLaboklab(37.98% -0.0625 0.0701)
OKLCHoklch(37.98% 0.094 131.7)
XYZxyz(3.8360, 5.8048, 1.3337)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4C0E #2B0E4C
analogous
#4C4A0E #2F4C0E #104C0E
triadic
#2F4C0E #0E2F4C #4C0E2F
tetradic
#2F4C0E #0E4C4A #2B0E4C #4C0E10
square
#2F4C0E #0E4C4A #2B0E4C #4C0E10
split-complementary
#2F4C0E #0E104C #4A0E4C
monochromatic
#101A05 #101A05 #2F4C0E #4F8018 #6FB321

Accessibility & contrast

On white

9.72
#2F4C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2F4C0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4C0E
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4C0E#FFFFFF#000000##FFFFFF
##2F4C0E1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504603
Deuteranopia (green-blind)
#4C4314
Tritanopia (blue-blind)
#304840
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f4c0e;
/* rgb */ color: rgb(47, 76, 14);
/* oklch */ color: oklch(38.0% 0.094 131.7);
Tailwind
colors: {
  custom: {
    50: '#6b7e52',
    500: '#2f4c0e',
    950: '#000000',
  },
}
SCSS
$custom: #2f4c0e;
$custom-light: #6b7e52;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4c0e",
  "rgb": {
    "r": 47,
    "g": 76,
    "b": 14
  },
  "hsl": {
    "h": 88.065,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37976,
    "c": 0.09386,
    "h": 131.7
  },
  "luminance": 0.05805
}

Semantic roles & 50–950 ramp

primary
#2F4C0E
secondary
#582F87
accent
#3CEC8E
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2F4C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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