#334E11#334E11

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

Color values

HEX#334E11
RGBrgb(51, 78, 17)
HSLhsl(87, 64%, 19%)
HSVhsv(87, 78%, 31%)
CMYKcmyk(34.6%, 0%, 78.2%, 69.4%)
CIE-LABlab(29.89, -21.18, 31.13)
CIE-LCHlch(29.89, 37.65, 124.23°)
OKLaboklab(38.85% -0.06 0.0701)
OKLCHoklch(38.85% 0.092 130.6)
XYZxyz(4.1908, 6.1929, 1.5048)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334E11 #2C114E
analogous
#4E4A11 #334E11 #144E11
triadic
#334E11 #11334E #4E1133
tetradic
#334E11 #114E4A #2C114E #4E1114
square
#334E11 #114E4A #2C114E #4E1114
split-complementary
#334E11 #11144E #4A114E
monochromatic
#101905 #121C06 #334E11 #54801C #75B227

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##334E11#FFFFFF#000000##FFFFFF
##334E111.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)
#524807
Deuteranopia (green-blind)
#4E4617
Tritanopia (blue-blind)
#344A42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #334e11;
/* rgb */ color: rgb(51, 78, 17);
/* oklch */ color: oklch(38.8% 0.092 130.6);
Tailwind
colors: {
  custom: {
    50: '#6d7f53',
    500: '#334e11',
    950: '#000000',
  },
}
SCSS
$custom: #334e11;
$custom-light: #6d7f53;
$custom-dark: #000000;
JSON
{
  "hex": "#334e11",
  "rgb": {
    "r": 51,
    "g": 78,
    "b": 17
  },
  "hsl": {
    "h": 86.557,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38848,
    "c": 0.09226,
    "h": 130.6
  },
  "luminance": 0.06193
}

Semantic roles & 50–950 ramp

primary
#334E11
secondary
#593387
accent
#41E78A
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #334E11

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

Preview Lab → · Contrast checker → · Palette generator →

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