#334B14#334B14

#334B14 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.0% C 0.085 H 129.9°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#334B14
RGBrgb(51, 75, 20)
HSLhsl(86, 58%, 19%)
HSVhsv(86, 73%, 29%)
CMYKcmyk(32%, 0%, 73.3%, 70.6%)
CIE-LABlab(28.87, -19.36, 28.70)
CIE-LCHlch(28.87, 34.63, 124.00°)
OKLaboklab(38.02% -0.0548 0.0655)
OKLCHoklch(38.02% 0.085 129.9)
XYZxyz(4.0076, 5.7864, 1.5674)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334B14 #2C144B
analogous
#4B4714 #334B14 #174B14
triadic
#334B14 #14334B #4B1433
tetradic
#334B14 #144B47 #2C144B #4B1417
square
#334B14 #144B47 #2C144B #4B1417
split-complementary
#334B14 #14174B #47144B
monochromatic
#101806 #121B07 #334B14 #547B21 #75AC2E

Accessibility & contrast

On white

9.73
#334B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#334B14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334B14
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334B14#FFFFFF#000000##FFFFFF
##334B141.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F450C
Deuteranopia (green-blind)
#4B4318
Tritanopia (blue-blind)
#344840
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #334b14;
/* rgb */ color: rgb(51, 75, 20);
/* oklch */ color: oklch(38.0% 0.085 129.9);
Tailwind
colors: {
  custom: {
    50: '#6d7d55',
    500: '#334b14',
    950: '#000000',
  },
}
SCSS
$custom: #334b14;
$custom-light: #6d7d55;
$custom-dark: #000000;
JSON
{
  "hex": "#334b14",
  "rgb": {
    "r": 51,
    "g": 75,
    "b": 20
  },
  "hsl": {
    "h": 86.182,
    "s": 57.895,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38021,
    "c": 0.08535,
    "h": 129.9
  },
  "luminance": 0.05786
}

Semantic roles & 50–950 ramp

primary
#334B14
secondary
#593883
accent
#47E18A
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #334B14

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

Preview Lab → · Contrast checker → · Palette generator →

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