#334813#334813

#334813 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.2% C 0.082 H 128.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#334813
RGBrgb(51, 72, 19)
HSLhsl(84, 58%, 18%)
HSVhsv(84, 74%, 28%)
CMYKcmyk(29.2%, 0%, 73.6%, 71.8%)
CIE-LABlab(27.81, -17.85, 28.06)
CIE-LCHlch(27.81, 33.26, 122.46°)
OKLaboklab(37.16% -0.0507 0.064)
OKLCHoklch(37.16% 0.082 128.4)
XYZxyz(3.8001, 5.3855, 1.4553)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334813 #281348
analogous
#484213 #334813 #184813
triadic
#334813 #133348 #481333
tetradic
#334813 #134842 #281348 #481318
square
#334813 #134842 #281348 #481318
split-complementary
#334813 #131848 #421348
monochromatic
#111806 #111806 #334813 #557820 #78A92D

Accessibility & contrast

On white

10.11
#334813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#334813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334813
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334813#FFFFFF#000000##FFFFFF
##3348131.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430C
Deuteranopia (green-blind)
#494117
Tritanopia (blue-blind)
#35453D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #334813;
/* rgb */ color: rgb(51, 72, 19);
/* oklch */ color: oklch(37.2% 0.082 128.4);
Tailwind
colors: {
  custom: {
    50: '#6d7b54',
    500: '#334813',
    950: '#000000',
  },
}
SCSS
$custom: #334813;
$custom-light: #6d7b54;
$custom-dark: #000000;
JSON
{
  "hex": "#334813",
  "rgb": {
    "r": 51,
    "g": 72,
    "b": 19
  },
  "hsl": {
    "h": 83.774,
    "s": 58.242,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37157,
    "c": 0.08162,
    "h": 128.4
  },
  "luminance": 0.05386
}

Semantic roles & 50–950 ramp

primary
#334813
secondary
#543681
accent
#46E184
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070903
muted
#7A7B78

Preview Lab

Preview with #334813

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

Preview Lab → · Contrast checker → · Palette generator →

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