#334B11#334B11

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

Color values

HEX#334B11
RGBrgb(51, 75, 17)
HSLhsl(85, 63%, 18%)
HSVhsv(85, 77%, 29%)
CMYKcmyk(32%, 0%, 77.3%, 70.6%)
CIE-LABlab(28.84, -19.62, 30.07)
CIE-LCHlch(28.84, 35.90, 123.12°)
OKLaboklab(37.99% -0.0557 0.0678)
OKLCHoklch(37.99% 0.088 129.4)
XYZxyz(3.9825, 5.7763, 1.4353)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334B11 #29114B
analogous
#4B4611 #334B11 #164B11
triadic
#334B11 #11334B #4B1133
tetradic
#334B11 #114B46 #29114B #4B1116
square
#334B11 #114B46 #29114B #4B1116
split-complementary
#334B11 #11164B #46114B
monochromatic
#111906 #111906 #334B11 #557D1C #77AF28

Accessibility & contrast

On white

9.74
#334B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334B11
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334B11#FFFFFF#000000##FFFFFF
##334B111.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4508
Deuteranopia (green-blind)
#4C4316
Tritanopia (blue-blind)
#354740
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #334b11;
/* rgb */ color: rgb(51, 75, 17);
/* oklch */ color: oklch(38.0% 0.088 129.4);
Tailwind
colors: {
  custom: {
    50: '#6d7d53',
    500: '#334b11',
    950: '#000000',
  },
}
SCSS
$custom: #334b11;
$custom-light: #6d7d53;
$custom-dark: #000000;
JSON
{
  "hex": "#334b11",
  "rgb": {
    "r": 51,
    "g": 75,
    "b": 17
  },
  "hsl": {
    "h": 84.828,
    "s": 63.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37992,
    "c": 0.0878,
    "h": 129.4
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

primary
#334B11
secondary
#553384
accent
#42E686
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #334B11

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

Preview Lab → · Contrast checker → · Palette generator →

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