#334310#334310

#334310 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.7% C 0.077 H 125.2°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#334310
RGBrgb(51, 67, 16)
HSLhsl(79, 61%, 16%)
HSVhsv(79, 76%, 26%)
CMYKcmyk(23.9%, 0%, 76.1%, 73.7%)
CIE-LABlab(26.03, -15.34, 27.64)
CIE-LCHlch(26.03, 31.61, 119.04°)
OKLaboklab(35.71% -0.0441 0.0626)
OKLCHoklch(35.71% 0.077 125.2)
XYZxyz(3.4659, 4.7555, 1.2254)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334310 #201043
analogous
#433A10 #334310 #1A4310
triadic
#334310 #103343 #431033
tetradic
#334310 #10433A #201043 #43101A
square
#334310 #10433A #201043 #43101A
split-complementary
#334310 #101A43 #3A1043
monochromatic
#131906 #131906 #334310 #59741C #7EA628

Accessibility & contrast

On white

10.76
#334310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#334310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334310
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334310#FFFFFF#000000##FFFFFF
##3343101.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E09
Deuteranopia (green-blind)
#453D14
Tritanopia (blue-blind)
#363F39
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #334310;
/* rgb */ color: rgb(51, 67, 16);
/* oklch */ color: oklch(35.7% 0.077 125.2);
Tailwind
colors: {
  custom: {
    50: '#6d7751',
    500: '#334310',
    950: '#000000',
  },
}
SCSS
$custom: #334310;
$custom-light: #6d7751;
$custom-dark: #000000;
JSON
{
  "hex": "#334310",
  "rgb": {
    "r": 51,
    "g": 67,
    "b": 16
  },
  "hsl": {
    "h": 78.824,
    "s": 61.446,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35707,
    "c": 0.07657,
    "h": 125.2
  },
  "luminance": 0.04756
}

Semantic roles & 50–950 ramp

primary
#334310
secondary
#49327D
accent
#43E576
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #334310

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

Preview Lab → · Contrast checker → · Palette generator →

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