#334313#334313

#334313 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.7% C 0.074 H 125.7°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#334313
RGBrgb(51, 67, 19)
HSLhsl(80, 56%, 17%)
HSVhsv(80, 72%, 26%)
CMYKcmyk(23.9%, 0%, 71.6%, 73.7%)
CIE-LABlab(26.05, -15.08, 26.20)
CIE-LCHlch(26.05, 30.23, 119.93°)
OKLaboklab(35.74% -0.0431 0.06)
OKLCHoklch(35.74% 0.074 125.7)
XYZxyz(3.4900, 4.7651, 1.3519)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334313 #231343
analogous
#433B13 #334313 #1B4313
triadic
#334313 #133343 #431333
tetradic
#334313 #13433B #231343 #43131B
square
#334313 #13433B #231343 #43131B
split-complementary
#334313 #131B43 #3B1343
monochromatic
#121807 #121807 #334313 #577321 #7CA22E

Accessibility & contrast

On white

10.75
#334313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#334313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334313
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334313#FFFFFF#000000##FFFFFF
##3343131.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E0D
Deuteranopia (green-blind)
#453D17
Tritanopia (blue-blind)
#354039
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #334313;
/* rgb */ color: rgb(51, 67, 19);
/* oklch */ color: oklch(35.7% 0.074 125.7);
Tailwind
colors: {
  custom: {
    50: '#6c7753',
    500: '#334313',
    950: '#000000',
  },
}
SCSS
$custom: #334313;
$custom-light: #6c7753;
$custom-dark: #000000;
JSON
{
  "hex": "#334313",
  "rgb": {
    "r": 51,
    "g": 67,
    "b": 19
  },
  "hsl": {
    "h": 80,
    "s": 55.814,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35738,
    "c": 0.07389,
    "h": 125.7
  },
  "luminance": 0.04765
}

Semantic roles & 50–950 ramp

primary
#334313
secondary
#4D367C
accent
#49DF7B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #334313

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

Preview Lab → · Contrast checker → · Palette generator →

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