#354512#354512

#354512 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.5% C 0.077 H 125.1°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#354512
RGBrgb(53, 69, 18)
HSLhsl(79, 59%, 17%)
HSVhsv(79, 74%, 27%)
CMYKcmyk(23.2%, 0%, 73.9%, 72.9%)
CIE-LABlab(26.90, -15.36, 27.63)
CIE-LCHlch(26.90, 31.61, 119.06°)
OKLaboklab(36.46% -0.0441 0.0629)
OKLCHoklch(36.46% 0.077 125.1)
XYZxyz(3.7055, 5.0568, 1.3530)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354512 #221245
analogous
#453C12 #354512 #1B4512
triadic
#354512 #123545 #451235
tetradic
#354512 #12453C #221245 #45121B
square
#354512 #12453C #221245 #45121B
split-complementary
#354512 #121B45 #3C1245
monochromatic
#131806 #131806 #354512 #5A761F #80A62B

Accessibility & contrast

On white

10.44
#354512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#354512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354512
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354512#FFFFFF#000000##FFFFFF
##3545121.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49400B
Deuteranopia (green-blind)
#473F16
Tritanopia (blue-blind)
#38413B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #354512;
/* rgb */ color: rgb(53, 69, 18);
/* oklch */ color: oklch(36.5% 0.077 125.1);
Tailwind
colors: {
  custom: {
    50: '#6e7853',
    500: '#354512',
    950: '#000000',
  },
}
SCSS
$custom: #354512;
$custom-light: #6e7853;
$custom-dark: #000000;
JSON
{
  "hex": "#354512",
  "rgb": {
    "r": 53,
    "g": 69,
    "b": 18
  },
  "hsl": {
    "h": 78.824,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36455,
    "c": 0.07677,
    "h": 125.1
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#354512
secondary
#4C357E
accent
#46E277
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #354512

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

Preview Lab → · Contrast checker → · Palette generator →

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