#335C10#335C10

#335C10 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 42.8% C 0.113 H 134.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#335C10
RGBrgb(51, 92, 16)
HSLhsl(92, 70%, 21%)
HSVhsv(92, 83%, 36%)
CMYKcmyk(44.6%, 0%, 82.6%, 63.9%)
CIE-LABlab(34.79, -28.08, 36.32)
CIE-LCHlch(34.79, 45.91, 127.71°)
OKLaboklab(42.85% -0.0788 0.0808)
OKLCHoklch(42.85% 0.113 134.3)
XYZxyz(5.2858, 8.3952, 1.8320)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C10 #39105C
analogous
#595C10 #335C10 #105C13
triadic
#335C10 #10335C #5C1033
tetradic
#335C10 #10595C #39105C #5C1310
square
#335C10 #10595C #39105C #5C1310
split-complementary
#335C10 #13105C #5C1059
monochromatic
#0E1A05 #162807 #335C10 #509019 #6DC422

Accessibility & contrast

On white

7.84
#335C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#335C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335C10
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C10#FFFFFF#000000##FFFFFF
##335C101.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605401
Deuteranopia (green-blind)
#5A5118
Tritanopia (blue-blind)
#32584E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #335c10;
/* rgb */ color: rgb(51, 92, 16);
/* oklch */ color: oklch(42.8% 0.113 134.3);
Tailwind
colors: {
  custom: {
    50: '#6f8a55',
    500: '#335c10',
    950: '#000000',
  },
}
SCSS
$custom: #335c10;
$custom-light: #6f8a55;
$custom-dark: #000000;
JSON
{
  "hex": "#335c10",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 16
  },
  "hsl": {
    "h": 92.368,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42848,
    "c": 0.11283,
    "h": 134.3
  },
  "luminance": 0.08396
}

Semantic roles & 50–950 ramp

primary
#335C10
secondary
#683395
accent
#3BED9B
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #335C10

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

Preview Lab → · Contrast checker → · Palette generator →

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