#334108#334108

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

Color values

HEX#334108
RGBrgb(51, 65, 8)
HSLhsl(75, 78%, 14%)
HSVhsv(75, 88%, 25%)
CMYKcmyk(21.5%, 0%, 87.7%, 74.5%)
CIE-LABlab(25.27, -14.76, 30.33)
CIE-LCHlch(25.27, 33.74, 115.95°)
OKLaboklab(35.07% -0.0433 0.0667)
OKLCHoklch(35.07% 0.08 123)
XYZxyz(3.2994, 4.5019, 0.9248)
Luminance0.0450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334108 #160841
analogous
#413308 #334108 #174108
triadic
#334108 #083341 #410833
tetradic
#334108 #084133 #160841 #410817
square
#334108 #084133 #160841 #410817
split-complementary
#334108 #081741 #330841
monochromatic
#151B03 #151B03 #334108 #5E770F #89AE15

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##334108#FFFFFF#000000##FFFFFF
##3341081.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)
#443C0E
Tritanopia (blue-blind)
#363D36
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #334108;
/* rgb */ color: rgb(51, 65, 8);
/* oklch */ color: oklch(35.1% 0.080 123.0);
Tailwind
colors: {
  custom: {
    50: '#6d754d',
    500: '#334108',
    950: '#000000',
  },
}
SCSS
$custom: #334108;
$custom-light: #6d754d;
$custom-dark: #000000;
JSON
{
  "hex": "#334108",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 8
  },
  "hsl": {
    "h": 74.737,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.35072,
    "c": 0.07956,
    "h": 123
  },
  "luminance": 0.04502
}

Semantic roles & 50–950 ramp

primary
#334108
secondary
#3B257F
accent
#33F563
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #334108

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

Preview Lab → · Contrast checker → · Palette generator →

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