#335F10#335F10

#335F10 is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 43.7% C 0.117 H 134.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#335F10
RGBrgb(51, 95, 16)
HSLhsl(93, 71%, 22%)
HSVhsv(93, 83%, 37%)
CMYKcmyk(46.3%, 0%, 83.2%, 62.7%)
CIE-LABlab(35.84, -29.46, 37.32)
CIE-LCHlch(35.84, 47.55, 128.29°)
OKLaboklab(43.71% -0.0825 0.0828)
OKLCHoklch(43.71% 0.117 134.9)
XYZxyz(5.5509, 8.9253, 1.9204)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335F10 #3C105F
analogous
#5B5F10 #335F10 #105F15
triadic
#335F10 #10335F #5F1033
tetradic
#335F10 #105B5F #3C105F #5F1510
square
#335F10 #105B5F #3C105F #5F1510
split-complementary
#335F10 #15105F #5F105B
monochromatic
#0E1A04 #172B07 #335F10 #4F9319 #6BC822

Accessibility & contrast

On white

7.54
#335F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#335F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335F10
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335F10#FFFFFF#000000##FFFFFF
##335F101.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635700
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#325B50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335f10;
/* rgb */ color: rgb(51, 95, 16);
/* oklch */ color: oklch(43.7% 0.117 134.9);
Tailwind
colors: {
  custom: {
    50: '#708d56',
    500: '#335f10',
    950: '#000000',
  },
}
SCSS
$custom: #335f10;
$custom-light: #708d56;
$custom-dark: #000000;
JSON
{
  "hex": "#335f10",
  "rgb": {
    "r": 51,
    "g": 95,
    "b": 16
  },
  "hsl": {
    "h": 93.418,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43707,
    "c": 0.11691,
    "h": 134.9
  },
  "luminance": 0.08926
}

Semantic roles & 50–950 ramp

primary
#335F10
secondary
#6B3398
accent
#3AEE9E
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #335F10

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

Preview Lab → · Contrast checker → · Palette generator →

#335F10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva