#334A14#334A14

#334A14 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.7% C 0.084 H 129.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#334A14
RGBrgb(51, 74, 20)
HSLhsl(86, 57%, 18%)
HSVhsv(86, 73%, 29%)
CMYKcmyk(31.1%, 0%, 73%, 71%)
CIE-LABlab(28.52, -18.83, 28.33)
CIE-LCHlch(28.52, 34.02, 123.61°)
OKLaboklab(37.74% -0.0533 0.0647)
OKLCHoklch(37.74% 0.084 129.5)
XYZxyz(3.9403, 5.6518, 1.5450)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334A14 #2B144A
analogous
#4A4614 #334A14 #184A14
triadic
#334A14 #14334A #4A1433
tetradic
#334A14 #144A46 #2B144A #4A1418
square
#334A14 #144A46 #2B144A #4A1418
split-complementary
#334A14 #14184A #46144A
monochromatic
#111807 #121A07 #334A14 #547A21 #75AA2E

Accessibility & contrast

On white

9.86
#334A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#334A14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334A14
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334A14#FFFFFF#000000##FFFFFF
##334A141.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E440D
Deuteranopia (green-blind)
#4B4318
Tritanopia (blue-blind)
#35473F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #334a14;
/* rgb */ color: rgb(51, 74, 20);
/* oklch */ color: oklch(37.7% 0.084 129.5);
Tailwind
colors: {
  custom: {
    50: '#6d7c55',
    500: '#334a14',
    950: '#000000',
  },
}
SCSS
$custom: #334a14;
$custom-light: #6d7c55;
$custom-dark: #000000;
JSON
{
  "hex": "#334a14",
  "rgb": {
    "r": 51,
    "g": 74,
    "b": 20
  },
  "hsl": {
    "h": 85.556,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37736,
    "c": 0.08382,
    "h": 129.5
  },
  "luminance": 0.05652
}

Semantic roles & 50–950 ramp

primary
#334A14
secondary
#573882
accent
#47E189
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #334A14

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

Preview Lab → · Contrast checker → · Palette generator →

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