#354F0C#354F0C

#354F0C is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.2% C 0.096 H 129.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#354F0C
RGBrgb(53, 79, 12)
HSLhsl(83, 74%, 18%)
HSVhsv(83, 85%, 31%)
CMYKcmyk(32.9%, 0%, 84.8%, 69%)
CIE-LABlab(30.34, -21.16, 33.61)
CIE-LCHlch(30.34, 39.71, 122.20°)
OKLaboklab(39.24% -0.0605 0.0743)
OKLCHoklch(39.24% 0.096 129.2)
XYZxyz(4.3305, 6.3753, 1.3501)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354F0C #260C4F
analogous
#4F470C #354F0C #134F0C
triadic
#354F0C #0C354F #4F0C35
tetradic
#354F0C #0C4F47 #260C4F #4F0C13
square
#354F0C #0C4F47 #260C4F #4F0C13
split-complementary
#354F0C #0C134F #470C4F
monochromatic
#121B04 #121B04 #354F0C #598414 #7CB91C

Accessibility & contrast

On white

9.23
#354F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #354F0C
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354F0C#FFFFFF#000000##FFFFFF
##354F0C1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534900
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#374B43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #354f0c;
/* rgb */ color: rgb(53, 79, 12);
/* oklch */ color: oklch(39.2% 0.096 129.2);
Tailwind
colors: {
  custom: {
    50: '#6f8051',
    500: '#354f0c',
    950: '#000000',
  },
}
SCSS
$custom: #354f0c;
$custom-light: #6f8051;
$custom-dark: #000000;
JSON
{
  "hex": "#354f0c",
  "rgb": {
    "r": 53,
    "g": 79,
    "b": 12
  },
  "hsl": {
    "h": 83.284,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.39235,
    "c": 0.09584,
    "h": 129.2
  },
  "luminance": 0.06375
}

Semantic roles & 50–950 ramp

primary
#354F0C
secondary
#512C8B
accent
#38F07F
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #354F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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