#334C0D#334C0D

#334C0D is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.2% C 0.092 H 129.3°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#334C0D
RGBrgb(51, 76, 13)
HSLhsl(84, 71%, 17%)
HSVhsv(84, 83%, 30%)
CMYKcmyk(32.9%, 0%, 82.9%, 70.2%)
CIE-LABlab(29.16, -20.43, 32.06)
CIE-LCHlch(29.16, 38.02, 122.50°)
OKLaboklab(38.24% -0.0583 0.0713)
OKLCHoklch(38.24% 0.092 129.3)
XYZxyz(4.0223, 5.9016, 1.3079)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334C0D #260D4C
analogous
#4C460D #334C0D #134C0D
triadic
#334C0D #0D334C #4C0D33
tetradic
#334C0D #0D4C46 #260D4C #4C0D13
square
#334C0D #0D4C46 #260D4C #4C0D13
split-complementary
#334C0D #0D134C #460D4C
monochromatic
#121A04 #121A04 #334C0D #568016 #79B51F

Accessibility & contrast

On white

9.63
#334C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334C0D
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334C0D#FFFFFF#000000##FFFFFF
##334C0D1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504602
Deuteranopia (green-blind)
#4D4413
Tritanopia (blue-blind)
#354840
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #334c0d;
/* rgb */ color: rgb(51, 76, 13);
/* oklch */ color: oklch(38.2% 0.092 129.3);
Tailwind
colors: {
  custom: {
    50: '#6d7e51',
    500: '#334c0d',
    950: '#000000',
  },
}
SCSS
$custom: #334c0d;
$custom-light: #6d7e51;
$custom-dark: #000000;
JSON
{
  "hex": "#334c0d",
  "rgb": {
    "r": 51,
    "g": 76,
    "b": 13
  },
  "hsl": {
    "h": 83.81,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38244,
    "c": 0.09212,
    "h": 129.3
  },
  "luminance": 0.05902
}

Semantic roles & 50–950 ramp

primary
#334C0D
secondary
#512E87
accent
#3AEE81
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #334C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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