#334510#334510

#334510 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.3% C 0.080 H 126.4°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#334510
RGBrgb(51, 69, 16)
HSLhsl(80, 62%, 17%)
HSVhsv(80, 77%, 27%)
CMYKcmyk(26.1%, 0%, 76.8%, 72.9%)
CIE-LABlab(26.73, -16.46, 28.36)
CIE-LCHlch(26.73, 32.79, 120.13°)
OKLaboklab(36.27% -0.0472 0.0641)
OKLCHoklch(36.27% 0.08 126.4)
XYZxyz(3.5869, 4.9974, 1.2657)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334510 #221045
analogous
#453D10 #334510 #194510
triadic
#334510 #103345 #451033
tetradic
#334510 #10453D #221045 #451019
square
#334510 #10453D #221045 #451019
split-complementary
#334510 #101945 #3D1045
monochromatic
#121906 #121906 #334510 #58771C #7CA827

Accessibility & contrast

On white

10.50
#334510 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#334510 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334510
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334510#FFFFFF#000000##FFFFFF
##3345101.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494008
Deuteranopia (green-blind)
#473F14
Tritanopia (blue-blind)
#35413A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #334510;
/* rgb */ color: rgb(51, 69, 16);
/* oklch */ color: oklch(36.3% 0.080 126.4);
Tailwind
colors: {
  custom: {
    50: '#6d7852',
    500: '#334510',
    950: '#000000',
  },
}
SCSS
$custom: #334510;
$custom-light: #6d7852;
$custom-dark: #000000;
JSON
{
  "hex": "#334510",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 16
  },
  "hsl": {
    "h": 80.377,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36274,
    "c": 0.07959,
    "h": 126.4
  },
  "luminance": 0.04997
}

Semantic roles & 50–950 ramp

primary
#334510
secondary
#4C327F
accent
#42E57A
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #334510

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

Preview Lab → · Contrast checker → · Palette generator →

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