#334E13#334E13

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

Color values

HEX#334E13
RGBrgb(51, 78, 19)
HSLhsl(87, 61%, 19%)
HSVhsv(87, 76%, 31%)
CMYKcmyk(34.6%, 0%, 75.6%, 69.4%)
CIE-LABlab(29.91, -21.02, 30.26)
CIE-LCHlch(29.91, 36.85, 124.78°)
OKLaboklab(38.87% -0.0594 0.0686)
OKLCHoklch(38.87% 0.091 130.9)
XYZxyz(4.2071, 6.1995, 1.5909)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334E13 #2E134E
analogous
#4E4C13 #334E13 #154E13
triadic
#334E13 #13334E #4E1333
tetradic
#334E13 #134E4C #2E134E #4E1315
square
#334E13 #134E4C #2E134E #4E1315
split-complementary
#334E13 #13154E #4C134E
monochromatic
#101906 #131D07 #334E13 #537F1F #73B02B

Accessibility & contrast

On white

9.38
#334E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334E13
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334E13#FFFFFF#000000##FFFFFF
##334E131.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480A
Deuteranopia (green-blind)
#4E4618
Tritanopia (blue-blind)
#344A42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #334e13;
/* rgb */ color: rgb(51, 78, 19);
/* oklch */ color: oklch(38.9% 0.091 130.9);
Tailwind
colors: {
  custom: {
    50: '#6d7f55',
    500: '#334e13',
    950: '#000000',
  },
}
SCSS
$custom: #334e13;
$custom-light: #6d7f55;
$custom-dark: #000000;
JSON
{
  "hex": "#334e13",
  "rgb": {
    "r": 51,
    "g": 78,
    "b": 19
  },
  "hsl": {
    "h": 87.458,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38867,
    "c": 0.09071,
    "h": 130.9
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#334E13
secondary
#5B3687
accent
#44E48D
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #334E13

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

Preview Lab → · Contrast checker → · Palette generator →

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