#334E15#334E15

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

Color values

HEX#334E15
RGBrgb(51, 78, 21)
HSLhsl(88, 58%, 19%)
HSVhsv(88, 73%, 31%)
CMYKcmyk(34.6%, 0%, 73.1%, 69.4%)
CIE-LABlab(29.93, -20.85, 29.35)
CIE-LCHlch(29.93, 36.00, 125.39°)
OKLaboklab(38.89% -0.0587 0.067)
OKLCHoklch(38.89% 0.089 131.2)
XYZxyz(4.2249, 6.2066, 1.6847)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334E15 #30154E
analogous
#4E4D15 #334E15 #174E15
triadic
#334E15 #15334E #4E1533
tetradic
#334E15 #154E4D #30154E #4E1517
square
#334E15 #154E4D #30154E #4E1517
split-complementary
#334E15 #15174E #4D154E
monochromatic
#101806 #131E08 #334E15 #537E22 #72AE2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##334E15#FFFFFF#000000##FFFFFF
##334E151.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)
#52480D
Deuteranopia (green-blind)
#4E461A
Tritanopia (blue-blind)
#344B42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #334e15;
/* rgb */ color: rgb(51, 78, 21);
/* oklch */ color: oklch(38.9% 0.089 131.2);
Tailwind
colors: {
  custom: {
    50: '#6d7f56',
    500: '#334e15',
    950: '#000000',
  },
}
SCSS
$custom: #334e15;
$custom-light: #6d7f56;
$custom-dark: #000000;
JSON
{
  "hex": "#334e15",
  "rgb": {
    "r": 51,
    "g": 78,
    "b": 21
  },
  "hsl": {
    "h": 88.421,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38887,
    "c": 0.08908,
    "h": 131.2
  },
  "luminance": 0.06207
}

Semantic roles & 50–950 ramp

primary
#334E15
secondary
#5D3986
accent
#47E190
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #334E15

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

Preview Lab → · Contrast checker → · Palette generator →

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