#334E10#334E10

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

Color values

HEX#334E10
RGBrgb(51, 78, 16)
HSLhsl(86, 66%, 18%)
HSVhsv(86, 79%, 31%)
CMYKcmyk(34.6%, 0%, 79.5%, 69.4%)
CIE-LABlab(29.89, -21.26, 31.55)
CIE-LCHlch(29.89, 38.04, 123.97°)
OKLaboklab(38.84% -0.0603 0.0708)
OKLCHoklch(38.84% 0.093 130.4)
XYZxyz(4.1831, 6.1899, 1.4645)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334E10 #2B104E
analogous
#4E4A10 #334E10 #144E10
triadic
#334E10 #10334E #4E1033
tetradic
#334E10 #104E4A #2B104E #4E1014
square
#334E10 #104E4A #2B104E #4E1014
split-complementary
#334E10 #10144E #4A104E
monochromatic
#111905 #121B06 #334E10 #54811A #75B425

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##334E10#FFFFFF#000000##FFFFFF
##334E101.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)
#524805
Deuteranopia (green-blind)
#4E4616
Tritanopia (blue-blind)
#344A42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #334e10;
/* rgb */ color: rgb(51, 78, 16);
/* oklch */ color: oklch(38.8% 0.093 130.4);
Tailwind
colors: {
  custom: {
    50: '#6d7f53',
    500: '#334e10',
    950: '#000000',
  },
}
SCSS
$custom: #334e10;
$custom-light: #6d7f53;
$custom-dark: #000000;
JSON
{
  "hex": "#334e10",
  "rgb": {
    "r": 51,
    "g": 78,
    "b": 16
  },
  "hsl": {
    "h": 86.129,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3884,
    "c": 0.09298,
    "h": 130.4
  },
  "luminance": 0.0619
}

Semantic roles & 50–950 ramp

primary
#334E10
secondary
#573288
accent
#3FE989
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #334E10

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

Preview Lab → · Contrast checker → · Palette generator →

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