#334F16#334F16

#334F16 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.2% C 0.090 H 131.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#334F16
RGBrgb(51, 79, 22)
HSLhsl(89, 56%, 20%)
HSVhsv(89, 72%, 31%)
CMYKcmyk(35.4%, 0%, 72.2%, 69%)
CIE-LABlab(30.29, -21.27, 29.25)
CIE-LCHlch(30.29, 36.17, 126.02°)
OKLaboklab(39.18% -0.0598 0.0669)
OKLCHoklch(39.18% 0.09 131.8)
XYZxyz(4.3060, 6.3535, 1.7584)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334F16 #32164F
analogous
#4F4F16 #334F16 #164F16
triadic
#334F16 #16334F #4F1633
tetradic
#334F16 #164F4F #32164F #4F1616
square
#334F16 #164F4F #32164F #4F1616
split-complementary
#334F16 #16164F #4F164F
monochromatic
#0F1807 #141F09 #334F16 #527F23 #71AF31

Accessibility & contrast

On white

9.25
#334F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#334F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334F16
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334F16#FFFFFF#000000##FFFFFF
##334F161.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490E
Deuteranopia (green-blind)
#4F471B
Tritanopia (blue-blind)
#344C43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #334f16;
/* rgb */ color: rgb(51, 79, 22);
/* oklch */ color: oklch(39.2% 0.090 131.8);
Tailwind
colors: {
  custom: {
    50: '#6d8056',
    500: '#334f16',
    950: '#000000',
  },
}
SCSS
$custom: #334f16;
$custom-light: #6d8056;
$custom-dark: #000000;
JSON
{
  "hex": "#334f16",
  "rgb": {
    "r": 51,
    "g": 79,
    "b": 22
  },
  "hsl": {
    "h": 89.474,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39182,
    "c": 0.08975,
    "h": 131.8
  },
  "luminance": 0.06354
}

Semantic roles & 50–950 ramp

primary
#334F16
secondary
#603A86
accent
#48E093
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #334F16

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

Preview Lab → · Contrast checker → · Palette generator →

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