#354C12#354C12

#354C12 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.4% C 0.087 H 128.7°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#354C12
RGBrgb(53, 76, 18)
HSLhsl(84, 62%, 18%)
HSVhsv(84, 76%, 30%)
CMYKcmyk(30.3%, 0%, 76.3%, 70.2%)
CIE-LABlab(29.33, -19.18, 30.16)
CIE-LCHlch(29.33, 35.74, 122.45°)
OKLaboklab(38.43% -0.0546 0.0682)
OKLCHoklch(38.43% 0.087 128.7)
XYZxyz(4.1618, 5.9693, 1.5051)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354C12 #29124C
analogous
#4C4612 #354C12 #184C12
triadic
#354C12 #12354C #4C1235
tetradic
#354C12 #124C46 #29124C #4C1218
square
#354C12 #124C46 #29124C #4C1218
split-complementary
#354C12 #12184C #46124C
monochromatic
#111906 #121B06 #354C12 #587D1E #7AAF29

Accessibility & contrast

On white

9.57
#354C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#354C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354C12
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354C12#FFFFFF#000000##FFFFFF
##354C121.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#4D4517
Tritanopia (blue-blind)
#374840
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #354c12;
/* rgb */ color: rgb(53, 76, 18);
/* oklch */ color: oklch(38.4% 0.087 128.7);
Tailwind
colors: {
  custom: {
    50: '#6f7e54',
    500: '#354c12',
    950: '#000000',
  },
}
SCSS
$custom: #354c12;
$custom-light: #6f7e54;
$custom-dark: #000000;
JSON
{
  "hex": "#354c12",
  "rgb": {
    "r": 53,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 83.793,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38431,
    "c": 0.08733,
    "h": 128.7
  },
  "luminance": 0.05969
}

Semantic roles & 50–950 ramp

primary
#354C12
secondary
#553585
accent
#43E583
background
#F6F7F4
surface
#ECEEE8
border
#C7C9C4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #354C12

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

Preview Lab → · Contrast checker → · Palette generator →

#354C12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva