#334E16#334E16

#334E16 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.9% C 0.088 H 131.4°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#334E16
RGBrgb(51, 78, 22)
HSLhsl(89, 56%, 20%)
HSVhsv(89, 72%, 31%)
CMYKcmyk(34.6%, 0%, 71.8%, 69.4%)
CIE-LABlab(29.94, -20.75, 28.88)
CIE-LCHlch(29.94, 35.56, 125.70°)
OKLaboklab(38.9% -0.0584 0.0661)
OKLCHoklch(38.9% 0.088 131.4)
XYZxyz(4.2344, 6.2104, 1.7345)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334E16 #31164E
analogous
#4E4D16 #334E16 #174E16
triadic
#334E16 #16334E #4E1633
tetradic
#334E16 #164E4D #31164E #4E1617
square
#334E16 #164E4D #31164E #4E1617
split-complementary
#334E16 #16174E #4D164E
monochromatic
#101807 #141E09 #334E16 #527E23 #71AD31

Accessibility & contrast

On white

9.37
#334E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#334E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334E16
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334E16#FFFFFF#000000##FFFFFF
##334E161.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480F
Deuteranopia (green-blind)
#4E461B
Tritanopia (blue-blind)
#344B42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #334e16;
/* rgb */ color: rgb(51, 78, 22);
/* oklch */ color: oklch(38.9% 0.088 131.4);
Tailwind
colors: {
  custom: {
    50: '#6d7f56',
    500: '#334e16',
    950: '#000000',
  },
}
SCSS
$custom: #334e16;
$custom-light: #6d7f56;
$custom-dark: #000000;
JSON
{
  "hex": "#334e16",
  "rgb": {
    "r": 51,
    "g": 78,
    "b": 22
  },
  "hsl": {
    "h": 88.929,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38897,
    "c": 0.08821,
    "h": 131.4
  },
  "luminance": 0.06211
}

Semantic roles & 50–950 ramp

primary
#334E16
secondary
#5F3A85
accent
#49DF91
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #334E16

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

Preview Lab → · Contrast checker → · Palette generator →

#334E16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva