#334C16#334C16

#334C16 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.3% C 0.085 H 130.7°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#334C16
RGBrgb(51, 76, 22)
HSLhsl(88, 55%, 19%)
HSVhsv(88, 71%, 30%)
CMYKcmyk(32.9%, 0%, 71.1%, 70.2%)
CIE-LABlab(29.24, -19.71, 28.13)
CIE-LCHlch(29.24, 34.34, 125.02°)
OKLaboklab(38.33% -0.0555 0.0646)
OKLCHoklch(38.33% 0.085 130.7)
XYZxyz(4.0945, 5.9305, 1.6879)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334C16 #2F164C
analogous
#4C4A16 #334C16 #184C16
triadic
#334C16 #16334C #4C1633
tetradic
#334C16 #164C4A #2F164C #4C1618
square
#334C16 #164C4A #2F164C #4C1618
split-complementary
#334C16 #16184C #4A164C
monochromatic
#101807 #131D08 #334C16 #537B24 #73AB31

Accessibility & contrast

On white

9.61
#334C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#334C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334C16
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334C16#FFFFFF#000000##FFFFFF
##334C161.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460F
Deuteranopia (green-blind)
#4C441A
Tritanopia (blue-blind)
#344941
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #334c16;
/* rgb */ color: rgb(51, 76, 22);
/* oklch */ color: oklch(38.3% 0.085 130.7);
Tailwind
colors: {
  custom: {
    50: '#6d7e56',
    500: '#334c16',
    950: '#000000',
  },
}
SCSS
$custom: #334c16;
$custom-light: #6d7e56;
$custom-dark: #000000;
JSON
{
  "hex": "#334c16",
  "rgb": {
    "r": 51,
    "g": 76,
    "b": 22
  },
  "hsl": {
    "h": 87.778,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38327,
    "c": 0.08514,
    "h": 130.7
  },
  "luminance": 0.05931
}

Semantic roles & 50–950 ramp

primary
#334C16
secondary
#5C3A84
accent
#49DE8E
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #334C16

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

Preview Lab → · Contrast checker → · Palette generator →

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