#334010#334010

#334010 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.9% C 0.072 H 123.2°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#334010
RGBrgb(51, 64, 16)
HSLhsl(76, 60%, 16%)
HSVhsv(76, 75%, 25%)
CMYKcmyk(20.3%, 0%, 75%, 74.9%)
CIE-LABlab(24.98, -13.64, 26.55)
CIE-LCHlch(24.98, 29.85, 117.19°)
OKLaboklab(34.86% -0.0394 0.0603)
OKLCHoklch(34.86% 0.072 123.2)
XYZxyz(3.2922, 4.4080, 1.1675)
Luminance0.0441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334010 #1D1040
analogous
#403510 #334010 #1B4010
triadic
#334010 #103340 #401033
tetradic
#334010 #104035 #1D1040 #40101B
square
#334010 #104035 #1D1040 #40101B
split-complementary
#334010 #101B40 #351040
monochromatic
#141806 #141806 #334010 #5A711C #81A228

Accessibility & contrast

On white

11.16
#334010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#334010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334010
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334010#FFFFFF#000000##FFFFFF
##3340101.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C09
Deuteranopia (green-blind)
#423B14
Tritanopia (blue-blind)
#363C36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #334010;
/* rgb */ color: rgb(51, 64, 16);
/* oklch */ color: oklch(34.9% 0.072 123.2);
Tailwind
colors: {
  custom: {
    50: '#6c7451',
    500: '#334010',
    950: '#000000',
  },
}
SCSS
$custom: #334010;
$custom-light: #6c7451;
$custom-dark: #000000;
JSON
{
  "hex": "#334010",
  "rgb": {
    "r": 51,
    "g": 64,
    "b": 16
  },
  "hsl": {
    "h": 76.25,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34858,
    "c": 0.07202,
    "h": 123.2
  },
  "luminance": 0.04408
}

Semantic roles & 50–950 ramp

primary
#334010
secondary
#45327A
accent
#45E370
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #334010

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

Preview Lab → · Contrast checker → · Palette generator →

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