#334F14#334F14

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

Color values

HEX#334F14
RGBrgb(51, 79, 20)
HSLhsl(88, 60%, 19%)
HSVhsv(88, 75%, 31%)
CMYKcmyk(35.4%, 0%, 74.7%, 69%)
CIE-LABlab(30.27, -21.45, 30.18)
CIE-LCHlch(30.27, 37.02, 125.41°)
OKLaboklab(39.16% -0.0605 0.0686)
OKLCHoklch(39.16% 0.091 131.4)
XYZxyz(4.2874, 6.3461, 1.6607)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334F14 #30144F
analogous
#4F4E14 #334F14 #154F14
triadic
#334F14 #14334F #4F1433
tetradic
#334F14 #144F4E #30144F #4F1415
square
#334F14 #144F4E #30144F #4F1415
split-complementary
#334F14 #14154F #4E144F
monochromatic
#101806 #131E08 #334F14 #538020 #72B12D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##334F14#FFFFFF#000000##FFFFFF
##334F141.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)
#53490B
Deuteranopia (green-blind)
#4F4719
Tritanopia (blue-blind)
#344B43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #334f14;
/* rgb */ color: rgb(51, 79, 20);
/* oklch */ color: oklch(39.2% 0.091 131.4);
Tailwind
colors: {
  custom: {
    50: '#6d8055',
    500: '#334f14',
    950: '#000000',
  },
}
SCSS
$custom: #334f14;
$custom-light: #6d8055;
$custom-dark: #000000;
JSON
{
  "hex": "#334f14",
  "rgb": {
    "r": 51,
    "g": 79,
    "b": 20
  },
  "hsl": {
    "h": 88.475,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39162,
    "c": 0.09141,
    "h": 131.4
  },
  "luminance": 0.06346
}

Semantic roles & 50–950 ramp

primary
#334F14
secondary
#5D3887
accent
#45E390
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #334F14

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

Preview Lab → · Contrast checker → · Palette generator →

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