#354612#354612

#354612 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.7% C 0.078 H 125.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#354612
RGBrgb(53, 70, 18)
HSLhsl(80, 59%, 17%)
HSVhsv(80, 74%, 27%)
CMYKcmyk(24.3%, 0%, 74.3%, 72.5%)
CIE-LABlab(27.24, -15.91, 28.00)
CIE-LCHlch(27.24, 32.21, 119.61°)
OKLaboklab(36.74% -0.0456 0.0636)
OKLCHoklch(36.74% 0.078 125.6)
XYZxyz(3.7676, 5.1808, 1.3737)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354612 #231246
analogous
#463D12 #354612 #1B4612
triadic
#354612 #123546 #461235
tetradic
#354612 #12463D #231246 #46121B
square
#354612 #12463D #231246 #46121B
split-complementary
#354612 #121B46 #3D1246
monochromatic
#121806 #121806 #354612 #5A771F #7FA72B

Accessibility & contrast

On white

10.31
#354612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#354612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354612
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354612#FFFFFF#000000##FFFFFF
##3546121.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410B
Deuteranopia (green-blind)
#484016
Tritanopia (blue-blind)
#38423B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #354612;
/* rgb */ color: rgb(53, 70, 18);
/* oklch */ color: oklch(36.7% 0.078 125.6);
Tailwind
colors: {
  custom: {
    50: '#6e7953',
    500: '#354612',
    950: '#000000',
  },
}
SCSS
$custom: #354612;
$custom-light: #6e7953;
$custom-dark: #000000;
JSON
{
  "hex": "#354612",
  "rgb": {
    "r": 53,
    "g": 70,
    "b": 18
  },
  "hsl": {
    "h": 79.615,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36736,
    "c": 0.07829,
    "h": 125.6
  },
  "luminance": 0.05181
}

Semantic roles & 50–950 ramp

primary
#354612
secondary
#4D357F
accent
#46E279
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #354612

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

Preview Lab → · Contrast checker → · Palette generator →

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