#354F0F#354F0F

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

Color values

HEX#354F0F
RGBrgb(53, 79, 15)
HSLhsl(84, 68%, 18%)
HSVhsv(84, 81%, 31%)
CMYKcmyk(32.9%, 0%, 81%, 69%)
CIE-LABlab(30.36, -20.97, 32.47)
CIE-LCHlch(30.36, 38.66, 122.85°)
OKLaboklab(39.26% -0.0598 0.0725)
OKLCHoklch(39.26% 0.094 129.5)
XYZxyz(4.3504, 6.3832, 1.4547)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354F0F #290F4F
analogous
#4F490F #354F0F #154F0F
triadic
#354F0F #0F354F #4F0F35
tetradic
#354F0F #0F4F49 #290F4F #4F0F15
square
#354F0F #0F4F49 #290F4F #4F0F15
split-complementary
#354F0F #0F154F #490F4F
monochromatic
#111A05 #121C05 #354F0F #588219 #7AB623

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##354F0F#FFFFFF#000000##FFFFFF
##354F0F1.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)
#534904
Deuteranopia (green-blind)
#504715
Tritanopia (blue-blind)
#374B43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #354f0f;
/* rgb */ color: rgb(53, 79, 15);
/* oklch */ color: oklch(39.3% 0.094 129.5);
Tailwind
colors: {
  custom: {
    50: '#6f8053',
    500: '#354f0f',
    950: '#000000',
  },
}
SCSS
$custom: #354f0f;
$custom-light: #6f8053;
$custom-dark: #000000;
JSON
{
  "hex": "#354f0f",
  "rgb": {
    "r": 53,
    "g": 79,
    "b": 15
  },
  "hsl": {
    "h": 84.375,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.39257,
    "c": 0.09394,
    "h": 129.5
  },
  "luminance": 0.06383
}

Semantic roles & 50–950 ramp

primary
#354F0F
secondary
#553189
accent
#3DEB84
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #354F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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