#2F4D16#2F4D16

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

Color values

HEX#2F4D16
RGBrgb(47, 77, 22)
HSLhsl(93, 56%, 19%)
HSVhsv(93, 71%, 30%)
CMYKcmyk(39%, 0%, 71.4%, 69.8%)
CIE-LABlab(29.34, -21.92, 28.16)
CIE-LCHlch(29.34, 35.69, 127.90°)
OKLaboklab(38.34% -0.0613 0.0647)
OKLCHoklch(38.34% 0.089 133.4)
XYZxyz(3.9709, 5.9699, 1.7020)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4D16 #34164D
analogous
#4B4D16 #2F4D16 #164D18
triadic
#2F4D16 #162F4D #4D162F
tetradic
#2F4D16 #164B4D #34164D #4D1816
square
#2F4D16 #164B4D #34164D #4D1816
split-complementary
#2F4D16 #18164D #4D164B
monochromatic
#0F1807 #121D08 #2F4D16 #4C7D24 #69AC31

Accessibility & contrast

On white

9.57
#2F4D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4D16
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4D16#FFFFFF#000000##FFFFFF
##2F4D161.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50470F
Deuteranopia (green-blind)
#4C441A
Tritanopia (blue-blind)
#2F4A42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f4d16;
/* rgb */ color: rgb(47, 77, 22);
/* oklch */ color: oklch(38.3% 0.089 133.4);
Tailwind
colors: {
  custom: {
    50: '#6a7f56',
    500: '#2f4d16',
    950: '#000000',
  },
}
SCSS
$custom: #2f4d16;
$custom-light: #6a7f56;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4d16",
  "rgb": {
    "r": 47,
    "g": 77,
    "b": 22
  },
  "hsl": {
    "h": 92.727,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38342,
    "c": 0.0891,
    "h": 133.4
  },
  "luminance": 0.0597
}

Semantic roles & 50–950 ramp

primary
#2F4D16
secondary
#633A85
accent
#49DF9B
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F4D16

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

Preview Lab → · Contrast checker → · Palette generator →

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