#334106#334106

#334106 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.1% C 0.081 H 122.8°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#334106
RGBrgb(51, 65, 6)
HSLhsl(74, 83%, 14%)
HSVhsv(74, 91%, 25%)
CMYKcmyk(21.5%, 0%, 90.8%, 74.5%)
CIE-LABlab(25.25, -14.89, 31.14)
CIE-LCHlch(25.25, 34.51, 115.55°)
OKLaboklab(35.06% -0.0439 0.068)
OKLCHoklch(35.06% 0.081 122.8)
XYZxyz(3.2885, 4.4975, 0.8671)
Luminance0.0450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334106 #140641
analogous
#413206 #334106 #164106
triadic
#334106 #063341 #410633
tetradic
#334106 #064132 #140641 #410616
square
#334106 #064132 #140641 #410616
split-complementary
#334106 #061641 #320641
monochromatic
#161C03 #161C03 #334106 #5F790B #8BB110

Accessibility & contrast

On white

11.05
#334106 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#334106 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334106
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334106#FFFFFF#000000##FFFFFF
##3341061.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#443C0C
Tritanopia (blue-blind)
#363D36
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #334106;
/* rgb */ color: rgb(51, 65, 6);
/* oklch */ color: oklch(35.1% 0.081 122.8);
Tailwind
colors: {
  custom: {
    50: '#6d754c',
    500: '#334106',
    950: '#000000',
  },
}
SCSS
$custom: #334106;
$custom-light: #6d754c;
$custom-dark: #000000;
JSON
{
  "hex": "#334106",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 6
  },
  "hsl": {
    "h": 74.237,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.35057,
    "c": 0.08094,
    "h": 122.8
  },
  "luminance": 0.04498
}

Semantic roles & 50–950 ramp

primary
#334106
secondary
#392281
accent
#2EF95F
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #334106

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

Preview Lab → · Contrast checker → · Palette generator →

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