#2F4D13#2F4D13

#2F4D13 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.3% C 0.092 H 132.8°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2F4D13
RGBrgb(47, 77, 19)
HSLhsl(91, 60%, 19%)
HSVhsv(91, 75%, 30%)
CMYKcmyk(39%, 0%, 75.3%, 69.8%)
CIE-LABlab(29.31, -22.20, 29.56)
CIE-LCHlch(29.31, 36.97, 126.90°)
OKLaboklab(38.31% -0.0623 0.0672)
OKLCHoklch(38.31% 0.092 132.8)
XYZxyz(3.9437, 5.9589, 1.5584)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4D13 #31134D
analogous
#4C4D13 #2F4D13 #134D14
triadic
#2F4D13 #132F4D #4D132F
tetradic
#2F4D13 #134C4D #31134D #4D1413
square
#2F4D13 #134C4D #31134D #4D1413
split-complementary
#2F4D13 #14134D #4D134C
monochromatic
#0F1906 #111C07 #2F4D13 #4D7E1F #6BAF2B

Accessibility & contrast

On white

9.58
#2F4D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2F4D13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4D13
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4D13#FFFFFF#000000##FFFFFF
##2F4D131.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50470A
Deuteranopia (green-blind)
#4C4418
Tritanopia (blue-blind)
#2F4A41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f4d13;
/* rgb */ color: rgb(47, 77, 19);
/* oklch */ color: oklch(38.3% 0.092 132.8);
Tailwind
colors: {
  custom: {
    50: '#6a7f54',
    500: '#2f4d13',
    950: '#000000',
  },
}
SCSS
$custom: #2f4d13;
$custom-light: #6a7f54;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4d13",
  "rgb": {
    "r": 47,
    "g": 77,
    "b": 19
  },
  "hsl": {
    "h": 91.034,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3831,
    "c": 0.09163,
    "h": 132.8
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

primary
#2F4D13
secondary
#5F3686
accent
#44E497
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F4D13

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

Preview Lab → · Contrast checker → · Palette generator →

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