#334A15#334A15

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

Color values

HEX#334A15
RGBrgb(51, 74, 21)
HSLhsl(86, 56%, 19%)
HSVhsv(86, 72%, 29%)
CMYKcmyk(31.1%, 0%, 71.6%, 71%)
CIE-LABlab(28.53, -18.74, 27.86)
CIE-LCHlch(28.53, 33.57, 123.93°)
OKLaboklab(37.75% -0.0529 0.0638)
OKLCHoklch(37.75% 0.083 129.7)
XYZxyz(3.9494, 5.6554, 1.5928)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334A15 #2C154A
analogous
#4A4615 #334A15 #184A15
triadic
#334A15 #15334A #4A1533
tetradic
#334A15 #154A46 #2C154A #4A1518
square
#334A15 #154A46 #2C154A #4A1518
split-complementary
#334A15 #15184A #46154A
monochromatic
#101807 #121A07 #334A15 #547A23 #75A930

Accessibility & contrast

On white

9.85
#334A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334A15
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334A15#FFFFFF#000000##FFFFFF
##334A151.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #334a15;
/* rgb */ color: rgb(51, 74, 21);
/* oklch */ color: oklch(37.7% 0.083 129.7);
Tailwind
colors: {
  custom: {
    50: '#6d7c55',
    500: '#334a15',
    950: '#000000',
  },
}
SCSS
$custom: #334a15;
$custom-light: #6d7c55;
$custom-dark: #000000;
JSON
{
  "hex": "#334a15",
  "rgb": {
    "r": 51,
    "g": 74,
    "b": 21
  },
  "hsl": {
    "h": 86.038,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37747,
    "c": 0.08293,
    "h": 129.7
  },
  "luminance": 0.05656
}

Semantic roles & 50–950 ramp

primary
#334A15
secondary
#593982
accent
#49DF8A
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #334A15

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

Preview Lab → · Contrast checker → · Palette generator →

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