#334107#334107

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

Color values

HEX#334107
RGBrgb(51, 65, 7)
HSLhsl(74, 81%, 14%)
HSVhsv(74, 89%, 25%)
CMYKcmyk(21.5%, 0%, 89.2%, 74.5%)
CIE-LABlab(25.26, -14.83, 30.73)
CIE-LCHlch(25.26, 34.12, 115.75°)
OKLaboklab(35.07% -0.0436 0.0674)
OKLCHoklch(35.07% 0.08 122.9)
XYZxyz(3.2939, 4.4997, 0.8960)
Luminance0.0450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334107 #150741
analogous
#413207 #334107 #164107
triadic
#334107 #073341 #410733
tetradic
#334107 #074132 #150741 #410716
square
#334107 #074132 #150741 #410716
split-complementary
#334107 #071641 #320741
monochromatic
#161C03 #161C03 #334107 #5E780D #8AB013

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #334107;
/* rgb */ color: rgb(51, 65, 7);
/* oklch */ color: oklch(35.1% 0.080 122.9);
Tailwind
colors: {
  custom: {
    50: '#6d754c',
    500: '#334107',
    950: '#000000',
  },
}
SCSS
$custom: #334107;
$custom-light: #6d754c;
$custom-dark: #000000;
JSON
{
  "hex": "#334107",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 7
  },
  "hsl": {
    "h": 74.483,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.35065,
    "c": 0.08025,
    "h": 122.9
  },
  "luminance": 0.045
}

Semantic roles & 50–950 ramp

primary
#334107
secondary
#3A2480
accent
#31F761
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #334107

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

Preview Lab → · Contrast checker → · Palette generator →

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