#334115#334115

#334115 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.2% C 0.069 H 124.7°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#334115
RGBrgb(51, 65, 21)
HSLhsl(79, 51%, 17%)
HSVhsv(79, 68%, 25%)
CMYKcmyk(21.5%, 0%, 67.7%, 74.5%)
CIE-LABlab(25.38, -13.75, 24.41)
CIE-LCHlch(25.38, 28.02, 119.39°)
OKLaboklab(35.2% -0.0392 0.0565)
OKLCHoklch(35.2% 0.069 124.7)
XYZxyz(3.3909, 4.5385, 1.4067)
Luminance0.0454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334115 #231541
analogous
#413915 #334115 #1D4115
triadic
#334115 #153341 #411533
tetradic
#334115 #154139 #231541 #41151D
square
#334115 #154139 #231541 #41151D
split-complementary
#334115 #151D41 #391541
monochromatic
#121707 #121707 #334115 #576F24 #7C9E33

Accessibility & contrast

On white

11.01
#334115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#334115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334115
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334115#FFFFFF#000000##FFFFFF
##3341151.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D10
Deuteranopia (green-blind)
#433C18
Tritanopia (blue-blind)
#353E38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #334115;
/* rgb */ color: rgb(51, 65, 21);
/* oklch */ color: oklch(35.2% 0.069 124.7);
Tailwind
colors: {
  custom: {
    50: '#6c7554',
    500: '#334115',
    950: '#000000',
  },
}
SCSS
$custom: #334115;
$custom-light: #6c7554;
$custom-dark: #000000;
JSON
{
  "hex": "#334115",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 21
  },
  "hsl": {
    "h": 79.091,
    "s": 51.163,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35198,
    "c": 0.06877,
    "h": 124.7
  },
  "luminance": 0.04539
}

Semantic roles & 50–950 ramp

primary
#334115
secondary
#4D3979
accent
#4DDB7A
background
#F6F7F4
surface
#EBEDE8
border
#C6C8C4
text
#070803
muted
#7A7B78

Preview Lab

Preview with #334115

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

Preview Lab → · Contrast checker → · Palette generator →

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