#354F12#354F12

#354F12 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.3% C 0.092 H 129.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#354F12
RGBrgb(53, 79, 18)
HSLhsl(86, 63%, 19%)
HSVhsv(86, 77%, 31%)
CMYKcmyk(32.9%, 0%, 77.2%, 69%)
CIE-LABlab(30.38, -20.75, 31.23)
CIE-LCHlch(30.38, 37.50, 123.60°)
OKLaboklab(39.28% -0.0589 0.0704)
OKLCHoklch(39.28% 0.092 129.9)
XYZxyz(4.3733, 6.3924, 1.5756)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354F12 #2C124F
analogous
#4F4B12 #354F12 #174F12
triadic
#354F12 #12354F #4F1235
tetradic
#354F12 #124F4B #2C124F #4F1217
square
#354F12 #124F4B #2C124F #4F1217
split-complementary
#354F12 #12174F #4B124F
monochromatic
#111906 #141D07 #354F12 #56811D #78B329

Accessibility & contrast

On white

9.22
#354F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#354F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354F12
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354F12#FFFFFF#000000##FFFFFF
##354F121.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534908
Deuteranopia (green-blind)
#4F4717
Tritanopia (blue-blind)
#374B43
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #354f12;
/* rgb */ color: rgb(53, 79, 18);
/* oklch */ color: oklch(39.3% 0.092 129.9);
Tailwind
colors: {
  custom: {
    50: '#6f8054',
    500: '#354f12',
    950: '#000000',
  },
}
SCSS
$custom: #354f12;
$custom-light: #6f8054;
$custom-dark: #000000;
JSON
{
  "hex": "#354f12",
  "rgb": {
    "r": 53,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 85.574,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39282,
    "c": 0.09178,
    "h": 129.9
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#354F12
secondary
#583588
accent
#42E688
background
#F6F7F5
surface
#ECEEE8
border
#C7C9C4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #354F12

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

Preview Lab → · Contrast checker → · Palette generator →

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