#334105#334105

#334105 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.0% C 0.082 H 122.7°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#334105
RGBrgb(51, 65, 5)
HSLhsl(74, 86%, 14%)
HSVhsv(74, 92%, 25%)
CMYKcmyk(21.5%, 0%, 92.3%, 74.5%)
CIE-LABlab(25.25, -14.95, 31.54)
CIE-LCHlch(25.25, 34.90, 115.36°)
OKLaboklab(35.05% -0.0442 0.0687)
OKLCHoklch(35.05% 0.082 122.7)
XYZxyz(3.2830, 4.4953, 0.8383)
Luminance0.0449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334105 #130541
analogous
#413105 #334105 #154105
triadic
#334105 #053341 #410533
tetradic
#334105 #054131 #130541 #410515
square
#334105 #054131 #130541 #410515
split-complementary
#334105 #051541 #310541
monochromatic
#161C02 #161C02 #334105 #607A09 #8CB30E

Accessibility & contrast

On white

11.06
#334105 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334105
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334105#FFFFFF#000000##FFFFFF
##3341051.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #334105;
/* rgb */ color: rgb(51, 65, 5);
/* oklch */ color: oklch(35.0% 0.082 122.7);
Tailwind
colors: {
  custom: {
    50: '#6d754b',
    500: '#334105',
    950: '#000000',
  },
}
SCSS
$custom: #334105;
$custom-light: #6d754b;
$custom-dark: #000000;
JSON
{
  "hex": "#334105",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 5
  },
  "hsl": {
    "h": 74,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.3505,
    "c": 0.08165,
    "h": 122.7
  },
  "luminance": 0.04495
}

Semantic roles & 50–950 ramp

primary
#334105
secondary
#372081
accent
#2CFC5C
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #334105

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

Preview Lab → · Contrast checker → · Palette generator →

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