#354812#354812

#354812 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.3% C 0.081 H 126.8°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#354812
RGBrgb(53, 72, 18)
HSLhsl(81, 60%, 18%)
HSVhsv(81, 75%, 28%)
CMYKcmyk(26.4%, 0%, 75%, 71.8%)
CIE-LABlab(27.94, -17.02, 28.73)
CIE-LCHlch(27.94, 33.39, 120.64°)
OKLaboklab(37.3% -0.0487 0.0652)
OKLCHoklch(37.3% 0.081 126.8)
XYZxyz(3.8948, 5.4352, 1.4161)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354812 #251248
analogous
#484012 #354812 #1A4812
triadic
#354812 #123548 #481235
tetradic
#354812 #124840 #251248 #48121A
square
#354812 #124840 #251248 #48121A
split-complementary
#354812 #121A48 #401248
monochromatic
#121806 #121806 #354812 #59791E #7DAA2A

Accessibility & contrast

On white

10.06
#354812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#354812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354812
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354812#FFFFFF#000000##FFFFFF
##3548121.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430A
Deuteranopia (green-blind)
#494216
Tritanopia (blue-blind)
#37443D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #354812;
/* rgb */ color: rgb(53, 72, 18);
/* oklch */ color: oklch(37.3% 0.081 126.8);
Tailwind
colors: {
  custom: {
    50: '#6e7b53',
    500: '#354812',
    950: '#000000',
  },
}
SCSS
$custom: #354812;
$custom-light: #6e7b53;
$custom-dark: #000000;
JSON
{
  "hex": "#354812",
  "rgb": {
    "r": 53,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 81.111,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.373,
    "c": 0.08132,
    "h": 126.8
  },
  "luminance": 0.05435
}

Semantic roles & 50–950 ramp

primary
#354812
secondary
#503581
accent
#45E37C
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #354812

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

Preview Lab → · Contrast checker → · Palette generator →

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