#334910#334910

#334910 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.4% C 0.086 H 128.4°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#334910
RGBrgb(51, 73, 16)
HSLhsl(83, 64%, 17%)
HSVhsv(83, 78%, 29%)
CMYKcmyk(30.1%, 0%, 78.1%, 71.4%)
CIE-LABlab(28.13, -18.63, 29.79)
CIE-LCHlch(28.13, 35.14, 122.02°)
OKLaboklab(37.41% -0.0531 0.0671)
OKLCHoklch(37.41% 0.086 128.4)
XYZxyz(3.8413, 5.5062, 1.3505)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334910 #261049
analogous
#494310 #334910 #164910
triadic
#334910 #103349 #491033
tetradic
#334910 #104943 #261049 #491016
square
#334910 #104943 #261049 #491016
split-complementary
#334910 #101649 #431049
monochromatic
#121906 #121906 #334910 #567B1B #79AD26

Accessibility & contrast

On white

9.99
#334910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#334910 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334910
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334910#FFFFFF#000000##FFFFFF
##3349101.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4307
Deuteranopia (green-blind)
#4A4215
Tritanopia (blue-blind)
#35453E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #334910;
/* rgb */ color: rgb(51, 73, 16);
/* oklch */ color: oklch(37.4% 0.086 128.4);
Tailwind
colors: {
  custom: {
    50: '#6d7c52',
    500: '#334910',
    950: '#000000',
  },
}
SCSS
$custom: #334910;
$custom-light: #6d7c52;
$custom-dark: #000000;
JSON
{
  "hex": "#334910",
  "rgb": {
    "r": 51,
    "g": 73,
    "b": 16
  },
  "hsl": {
    "h": 83.158,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37412,
    "c": 0.08559,
    "h": 128.4
  },
  "luminance": 0.05506
}

Semantic roles & 50–950 ramp

primary
#334910
secondary
#513283
accent
#41E781
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #334910

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

Preview Lab → · Contrast checker → · Palette generator →

#334910 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva