#335B0E#335B0E

#335B0E is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.5% C 0.113 H 133.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#335B0E
RGBrgb(51, 91, 14)
HSLhsl(91, 73%, 21%)
HSVhsv(91, 85%, 36%)
CMYKcmyk(44%, 0%, 84.6%, 64.3%)
CIE-LABlab(34.43, -27.74, 36.69)
CIE-LCHlch(34.43, 46.00, 127.09°)
OKLaboklab(42.55% -0.078 0.0812)
OKLCHoklch(42.55% 0.113 133.9)
XYZxyz(5.1855, 8.2174, 1.7283)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335B0E #360E5B
analogous
#595B0E #335B0E #0E5B10
triadic
#335B0E #0E335B #5B0E33
tetradic
#335B0E #0E595B #360E5B #5B100E
square
#335B0E #0E595B #360E5B #5B100E
split-complementary
#335B0E #100E5B #5B0E59
monochromatic
#0F1B04 #152606 #335B0E #519016 #6EC51E

Accessibility & contrast

On white

7.94
#335B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#335B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335B0E
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335B0E#FFFFFF#000000##FFFFFF
##335B0E1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#33574D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #335b0e;
/* rgb */ color: rgb(51, 91, 14);
/* oklch */ color: oklch(42.5% 0.113 133.9);
Tailwind
colors: {
  custom: {
    50: '#6f8a54',
    500: '#335b0e',
    950: '#000000',
  },
}
SCSS
$custom: #335b0e;
$custom-light: #6f8a54;
$custom-dark: #000000;
JSON
{
  "hex": "#335b0e",
  "rgb": {
    "r": 51,
    "g": 91,
    "b": 14
  },
  "hsl": {
    "h": 91.169,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42549,
    "c": 0.11259,
    "h": 133.9
  },
  "luminance": 0.08218
}

Semantic roles & 50–950 ramp

primary
#335B0E
secondary
#643095
accent
#38F097
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #335B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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