#2F4C13#2F4C13

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

Color values

HEX#2F4C13
RGBrgb(47, 76, 19)
HSLhsl(91, 60%, 19%)
HSVhsv(91, 75%, 30%)
CMYKcmyk(38.2%, 0%, 75%, 70.2%)
CIE-LABlab(28.95, -21.69, 29.19)
CIE-LCHlch(28.95, 36.37, 126.62°)
OKLaboklab(38.02% -0.0609 0.0664)
OKLCHoklch(38.02% 0.09 132.5)
XYZxyz(3.8742, 5.8201, 1.5352)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4C13 #30134C
analogous
#4B4C13 #2F4C13 #134C13
triadic
#2F4C13 #132F4C #4C132F
tetradic
#2F4C13 #134B4C #30134C #4C1313
square
#2F4C13 #134B4C #30134C #4C1313
split-complementary
#2F4C13 #13134C #4C134B
monochromatic
#0F1806 #111B07 #2F4C13 #4D7D1F #6CAE2B

Accessibility & contrast

On white

9.70
#2F4C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4C13
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4C13#FFFFFF#000000##FFFFFF
##2F4C131.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F460B
Deuteranopia (green-blind)
#4B4318
Tritanopia (blue-blind)
#2F4941
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f4c13;
/* rgb */ color: rgb(47, 76, 19);
/* oklch */ color: oklch(38.0% 0.090 132.5);
Tailwind
colors: {
  custom: {
    50: '#6a7e54',
    500: '#2f4c13',
    950: '#000000',
  },
}
SCSS
$custom: #2f4c13;
$custom-light: #6a7e54;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4c13",
  "rgb": {
    "r": 47,
    "g": 76,
    "b": 19
  },
  "hsl": {
    "h": 90.526,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38021,
    "c": 0.09012,
    "h": 132.5
  },
  "luminance": 0.0582
}

Semantic roles & 50–950 ramp

primary
#2F4C13
secondary
#5E3685
accent
#45E395
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F4C13

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

Preview Lab → · Contrast checker → · Palette generator →

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