#334C14#334C14

#334C14 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.3% C 0.087 H 130.3°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#334C14
RGBrgb(51, 76, 20)
HSLhsl(87, 58%, 19%)
HSVhsv(87, 74%, 30%)
CMYKcmyk(32.9%, 0%, 73.7%, 70.2%)
CIE-LABlab(29.22, -19.89, 29.07)
CIE-LCHlch(29.22, 35.23, 124.38°)
OKLaboklab(38.31% -0.0562 0.0662)
OKLCHoklch(38.31% 0.087 130.3)
XYZxyz(4.0759, 5.9231, 1.5902)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334C14 #2D144C
analogous
#4C4914 #334C14 #174C14
triadic
#334C14 #14334C #4C1433
tetradic
#334C14 #144C49 #2D144C #4C1417
square
#334C14 #144C49 #2D144C #4C1417
split-complementary
#334C14 #14174C #49144C
monochromatic
#101806 #121C07 #334C14 #547C21 #74AD2E

Accessibility & contrast

On white

9.61
#334C14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#334C14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334C14
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334C14#FFFFFF#000000##FFFFFF
##334C141.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460C
Deuteranopia (green-blind)
#4C4419
Tritanopia (blue-blind)
#344841
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #334c14;
/* rgb */ color: rgb(51, 76, 20);
/* oklch */ color: oklch(38.3% 0.087 130.3);
Tailwind
colors: {
  custom: {
    50: '#6d7e55',
    500: '#334c14',
    950: '#000000',
  },
}
SCSS
$custom: #334c14;
$custom-light: #6d7e55;
$custom-dark: #000000;
JSON
{
  "hex": "#334c14",
  "rgb": {
    "r": 51,
    "g": 76,
    "b": 20
  },
  "hsl": {
    "h": 86.786,
    "s": 58.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38306,
    "c": 0.08688,
    "h": 130.3
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#334C14
secondary
#5A3884
accent
#46E28C
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #334C14

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

Preview Lab → · Contrast checker → · Palette generator →

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