#334A11#334A11

#334A11 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.7% C 0.086 H 129.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#334A11
RGBrgb(51, 74, 17)
HSLhsl(84, 63%, 18%)
HSVhsv(84, 77%, 29%)
CMYKcmyk(31.1%, 0%, 77%, 71%)
CIE-LABlab(28.49, -19.09, 29.71)
CIE-LCHlch(28.49, 35.31, 122.72°)
OKLaboklab(37.71% -0.0543 0.0671)
OKLCHoklch(37.71% 0.086 129)
XYZxyz(3.9152, 5.6417, 1.4129)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334A11 #28114A
analogous
#4A4411 #334A11 #164A11
triadic
#334A11 #11334A #4A1133
tetradic
#334A11 #114A44 #28114A #4A1116
square
#334A11 #114A44 #28114A #4A1116
split-complementary
#334A11 #11164A #44114A
monochromatic
#111906 #111906 #334A11 #557C1C #78AE28

Accessibility & contrast

On white

9.87
#334A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334A11
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334A11#FFFFFF#000000##FFFFFF
##334A111.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4408
Deuteranopia (green-blind)
#4B4316
Tritanopia (blue-blind)
#35463F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #334a11;
/* rgb */ color: rgb(51, 74, 17);
/* oklch */ color: oklch(37.7% 0.086 129.0);
Tailwind
colors: {
  custom: {
    50: '#6d7c53',
    500: '#334a11',
    950: '#000000',
  },
}
SCSS
$custom: #334a11;
$custom-light: #6d7c53;
$custom-dark: #000000;
JSON
{
  "hex": "#334a11",
  "rgb": {
    "r": 51,
    "g": 74,
    "b": 17
  },
  "hsl": {
    "h": 84.211,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37706,
    "c": 0.08631,
    "h": 129
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#334A11
secondary
#543383
accent
#42E684
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #334A11

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

Preview Lab → · Contrast checker → · Palette generator →

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