#2F4D14#2F4D14

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

Color values

HEX#2F4D14
RGBrgb(47, 77, 20)
HSLhsl(92, 59%, 19%)
HSVhsv(92, 74%, 30%)
CMYKcmyk(39%, 0%, 74%, 69.8%)
CIE-LABlab(29.32, -22.11, 29.10)
CIE-LCHlch(29.32, 36.55, 127.22°)
OKLaboklab(38.32% -0.062 0.0664)
OKLCHoklch(38.32% 0.091 133)
XYZxyz(3.9524, 5.9624, 1.6043)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4D14 #32144D
analogous
#4C4D14 #2F4D14 #144D16
triadic
#2F4D14 #142F4D #4D142F
tetradic
#2F4D14 #144C4D #32144D #4D1614
square
#2F4D14 #144C4D #32144D #4D1614
split-complementary
#2F4D14 #16144D #4D144C
monochromatic
#0F1806 #111C07 #2F4D14 #4D7E21 #6AAE2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F4D14#FFFFFF#000000##FFFFFF
##2F4D141.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)
#50470C
Deuteranopia (green-blind)
#4C4419
Tritanopia (blue-blind)
#2F4A41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f4d14;
/* rgb */ color: rgb(47, 77, 20);
/* oklch */ color: oklch(38.3% 0.091 133.0);
Tailwind
colors: {
  custom: {
    50: '#6a7f55',
    500: '#2f4d14',
    950: '#000000',
  },
}
SCSS
$custom: #2f4d14;
$custom-light: #6a7f55;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4d14",
  "rgb": {
    "r": 47,
    "g": 77,
    "b": 20
  },
  "hsl": {
    "h": 91.579,
    "s": 58.763,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3832,
    "c": 0.09081,
    "h": 133
  },
  "luminance": 0.05963
}

Semantic roles & 50–950 ramp

primary
#2F4D14
secondary
#603885
accent
#46E298
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F4D14

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

Preview Lab → · Contrast checker → · Palette generator →

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