#326518#326518

#326518 is a mid, vivid yellow-green. Relative luminance 0.101; OKLCH L 45.4% C 0.121 H 137.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#326518
RGBrgb(50, 101, 24)
HSLhsl(100, 62%, 25%)
HSVhsv(100, 76%, 40%)
CMYKcmyk(50.5%, 0%, 76.2%, 60.4%)
CIE-LABlab(37.93, -31.92, 36.29)
CIE-LCHlch(37.93, 48.33, 131.33°)
OKLaboklab(45.43% -0.0885 0.082)
OKLCHoklch(45.43% 0.121 137.2)
XYZxyz(6.1338, 10.0510, 2.4808)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#326518 #4B1865
analogous
#596518 #326518 #186524
triadic
#326518 #183265 #651832
tetradic
#326518 #185965 #4B1865 #652418
square
#326518 #185965 #4B1865 #652418
split-complementary
#326518 #241865 #651859
monochromatic
#0C1906 #1A340C #326518 #4A9624 #63C830

Accessibility & contrast

On white

6.98
#326518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#326518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #326518
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##326518#FFFFFF#000000##FFFFFF
##3265181.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C0B
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#2F6156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #326518;
/* rgb */ color: rgb(50, 101, 24);
/* oklch */ color: oklch(45.4% 0.121 137.2);
Tailwind
colors: {
  custom: {
    50: '#6f915a',
    500: '#326518',
    950: '#000000',
  },
}
SCSS
$custom: #326518;
$custom-light: #6f915a;
$custom-dark: #000000;
JSON
{
  "hex": "#326518",
  "rgb": {
    "r": 50,
    "g": 101,
    "b": 24
  },
  "hsl": {
    "h": 99.74,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.4543,
    "c": 0.12063,
    "h": 137.2
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#326518
secondary
#7C3E9B
accent
#43E5AE
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080D04
muted
#7B7D79

Preview Lab

Preview with #326518

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

Preview Lab → · Contrast checker → · Palette generator →

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