#2F4C0A#2F4C0A

#2F4C0A is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 37.9% C 0.096 H 131.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#2F4C0A
RGBrgb(47, 76, 10)
HSLhsl(86, 77%, 17%)
HSVhsv(86, 87%, 30%)
CMYKcmyk(38.2%, 0%, 86.8%, 70.2%)
CIE-LABlab(28.89, -22.35, 32.83)
CIE-LCHlch(28.89, 39.71, 124.24°)
OKLaboklab(37.95% -0.0635 0.0725)
OKLCHoklch(37.95% 0.096 131.2)
XYZxyz(3.8115, 5.7950, 1.2048)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4C0A #270A4C
analogous
#4C480A #2F4C0A #0E4C0A
triadic
#2F4C0A #0A2F4C #4C0A2F
tetradic
#2F4C0A #0A4C48 #270A4C #4C0A0E
square
#2F4C0A #0A4C48 #270A4C #4C0A0E
split-complementary
#2F4C0A #0A0E4C #480A4C
monochromatic
#111B04 #111B04 #2F4C0A #508211 #72B818

Accessibility & contrast

On white

9.73
#2F4C0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4C0A
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4C0A#FFFFFF#000000##FFFFFF
##2F4C0A1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f4c0a;
/* rgb */ color: rgb(47, 76, 10);
/* oklch */ color: oklch(37.9% 0.096 131.2);
Tailwind
colors: {
  custom: {
    50: '#6b7e50',
    500: '#2f4c0a',
    950: '#000000',
  },
}
SCSS
$custom: #2f4c0a;
$custom-light: #6b7e50;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4c0a",
  "rgb": {
    "r": 47,
    "g": 76,
    "b": 10
  },
  "hsl": {
    "h": 86.364,
    "s": 76.744,
    "l": 16.863
  },
  "oklch": {
    "l": 0.37947,
    "c": 0.09634,
    "h": 131.2
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#2F4C0A
secondary
#532989
accent
#35F388
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2F4C0A

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

Preview Lab → · Contrast checker → · Palette generator →

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