#2F4C16#2F4C16

#2F4C16 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.1% C 0.088 H 133.1°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2F4C16
RGBrgb(47, 76, 22)
HSLhsl(92, 55%, 19%)
HSVhsv(92, 71%, 30%)
CMYKcmyk(38.2%, 0%, 71.1%, 70.2%)
CIE-LABlab(28.98, -21.41, 27.78)
CIE-LCHlch(28.98, 35.07, 127.62°)
OKLaboklab(38.05% -0.0599 0.0639)
OKLCHoklch(38.05% 0.088 133.1)
XYZxyz(3.9015, 5.8310, 1.6788)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4C16 #33164C
analogous
#4A4C16 #2F4C16 #164C18
triadic
#2F4C16 #162F4C #4C162F
tetradic
#2F4C16 #164A4C #33164C #4C1816
square
#2F4C16 #164A4C #33164C #4C1816
split-complementary
#2F4C16 #18164C #4C164A
monochromatic
#0F1807 #121D08 #2F4C16 #4C7B24 #6AAB31

Accessibility & contrast

On white

9.69
#2F4C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2F4C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4C16
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4C16#FFFFFF#000000##FFFFFF
##2F4C161.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f4c16;
/* rgb */ color: rgb(47, 76, 22);
/* oklch */ color: oklch(38.1% 0.088 133.1);
Tailwind
colors: {
  custom: {
    50: '#6a7e56',
    500: '#2f4c16',
    950: '#000000',
  },
}
SCSS
$custom: #2f4c16;
$custom-light: #6a7e56;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4c16",
  "rgb": {
    "r": 47,
    "g": 76,
    "b": 22
  },
  "hsl": {
    "h": 92.222,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38053,
    "c": 0.08756,
    "h": 133.1
  },
  "luminance": 0.05831
}

Semantic roles & 50–950 ramp

primary
#2F4C16
secondary
#623A84
accent
#49DE99
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F4C16

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

Preview Lab → · Contrast checker → · Palette generator →

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