#2F4E13#2F4E13

#2F4E13 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.6% C 0.093 H 133.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#2F4E13
RGBrgb(47, 78, 19)
HSLhsl(92, 61%, 19%)
HSVhsv(92, 76%, 31%)
CMYKcmyk(39.7%, 0%, 75.6%, 69.4%)
CIE-LABlab(29.66, -22.70, 29.93)
CIE-LCHlch(29.66, 37.56, 127.18°)
OKLaboklab(38.6% -0.0637 0.068)
OKLCHoklch(38.6% 0.093 133.1)
XYZxyz(4.0142, 6.1000, 1.5819)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E13 #32134E
analogous
#4D4E13 #2F4E13 #134E14
triadic
#2F4E13 #132F4E #4E132F
tetradic
#2F4E13 #134D4E #32134E #4E1413
square
#2F4E13 #134D4E #32134E #4E1413
split-complementary
#2F4E13 #14134E #4E134D
monochromatic
#0F1906 #111D07 #2F4E13 #4D7F1F #6AB02B

Accessibility & contrast

On white

9.46
#2F4E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2F4E13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E13
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E13#FFFFFF#000000##FFFFFF
##2F4E131.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470A
Deuteranopia (green-blind)
#4D4518
Tritanopia (blue-blind)
#2F4B42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f4e13;
/* rgb */ color: rgb(47, 78, 19);
/* oklch */ color: oklch(38.6% 0.093 133.1);
Tailwind
colors: {
  custom: {
    50: '#6a8054',
    500: '#2f4e13',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e13;
$custom-light: #6a8054;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e13",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 19
  },
  "hsl": {
    "h": 91.525,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.386,
    "c": 0.09313,
    "h": 133.1
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#2F4E13
secondary
#603687
accent
#44E498
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F4E13

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

Preview Lab → · Contrast checker → · Palette generator →

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