#334906#334906

#334906 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.3% C 0.092 H 127.3°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#334906
RGBrgb(51, 73, 6)
HSLhsl(80, 85%, 15%)
HSVhsv(80, 92%, 29%)
CMYKcmyk(30.1%, 0%, 91.8%, 71.4%)
CIE-LABlab(28.07, -19.26, 33.66)
CIE-LCHlch(28.07, 38.78, 119.78°)
OKLaboklab(37.34% -0.0557 0.0733)
OKLCHoklch(37.34% 0.092 127.3)
XYZxyz(3.7807, 5.4820, 1.0312)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334906 #1C0649
analogous
#493D06 #334906 #124906
triadic
#334906 #063349 #490633
tetradic
#334906 #06493D #1C0649 #490612
square
#334906 #06493D #1C0649 #490612
split-complementary
#334906 #061249 #3D0649
monochromatic
#141C02 #141C02 #334906 #5B820B #82BA0F

Accessibility & contrast

On white

10.02
#334906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#334906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334906
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334906#FFFFFF#000000##FFFFFF
##3349061.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4300
Deuteranopia (green-blind)
#4A420E
Tritanopia (blue-blind)
#35453D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #334906;
/* rgb */ color: rgb(51, 73, 6);
/* oklch */ color: oklch(37.3% 0.092 127.3);
Tailwind
colors: {
  custom: {
    50: '#6e7c4d',
    500: '#334906',
    950: '#000000',
  },
}
SCSS
$custom: #334906;
$custom-light: #6e7c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#334906",
  "rgb": {
    "r": 51,
    "g": 73,
    "b": 6
  },
  "hsl": {
    "h": 79.701,
    "s": 84.81,
    "l": 15.49
  },
  "oklch": {
    "l": 0.37339,
    "c": 0.09208,
    "h": 127.3
  },
  "luminance": 0.05482
}

Semantic roles & 50–950 ramp

primary
#334906
secondary
#442388
accent
#2DFB70
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #334906

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

Preview Lab → · Contrast checker → · Palette generator →

#334906 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva