#335E10#335E10

#335E10 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.4% C 0.116 H 134.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#335E10
RGBrgb(51, 94, 16)
HSLhsl(93, 71%, 22%)
HSVhsv(93, 83%, 37%)
CMYKcmyk(45.7%, 0%, 83%, 63.1%)
CIE-LABlab(35.49, -29.00, 36.99)
CIE-LCHlch(35.49, 47.00, 128.10°)
OKLaboklab(43.42% -0.0813 0.0822)
OKLCHoklch(43.42% 0.116 134.7)
XYZxyz(5.4614, 8.7463, 1.8906)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E10 #3B105E
analogous
#5A5E10 #335E10 #105E14
triadic
#335E10 #10335E #5E1033
tetradic
#335E10 #105A5E #3B105E #5E1410
square
#335E10 #105A5E #3B105E #5E1410
split-complementary
#335E10 #14105E #5E105A
monochromatic
#0E1A04 #172A07 #335E10 #4F9219 #6CC722

Accessibility & contrast

On white

7.64
#335E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#335E10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335E10
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335E10#FFFFFF#000000##FFFFFF
##335E101.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#5C5219
Tritanopia (blue-blind)
#325A4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335e10;
/* rgb */ color: rgb(51, 94, 16);
/* oklch */ color: oklch(43.4% 0.116 134.7);
Tailwind
colors: {
  custom: {
    50: '#6f8c55',
    500: '#335e10',
    950: '#000000',
  },
}
SCSS
$custom: #335e10;
$custom-light: #6f8c55;
$custom-dark: #000000;
JSON
{
  "hex": "#335e10",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 16
  },
  "hsl": {
    "h": 93.077,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43421,
    "c": 0.11556,
    "h": 134.7
  },
  "luminance": 0.08747
}

Semantic roles & 50–950 ramp

primary
#335E10
secondary
#6A3397
accent
#3AEE9D
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #335E10

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

Preview Lab → · Contrast checker → · Palette generator →

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