#398015#398015

#398015 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.3% C 0.154 H 137.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#398015
RGBrgb(57, 128, 21)
HSLhsl(100, 72%, 29%)
HSVhsv(100, 84%, 50%)
CMYKcmyk(55.5%, 0%, 83.6%, 49.8%)
CIE-LABlab(47.45, -41.09, 46.63)
CIE-LCHlch(47.45, 62.15, 131.39°)
OKLaboklab(53.34% -0.1138 0.1031)
OKLCHoklch(53.34% 0.154 137.8)
XYZxyz(9.5415, 16.3616, 3.3646)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398015 #5C1580
analogous
#6F8015 #398015 #158027
triadic
#398015 #153980 #801539
tetradic
#398015 #156F80 #5C1580 #802715
square
#398015 #156F80 #5C1580 #802715
split-complementary
#398015 #271580 #80156F
monochromatic
#0C1A04 #224B0C #398015 #50B51E #6CDD32

Accessibility & contrast

On white

4.92
#398015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#398015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398015
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398015#FFFFFF#000000##FFFFFF
##3980151.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#337B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #398015;
/* rgb */ color: rgb(57, 128, 21);
/* oklch */ color: oklch(53.3% 0.154 137.8);
Tailwind
colors: {
  custom: {
    50: '#78a55d',
    500: '#398015',
    950: '#000000',
  },
}
SCSS
$custom: #398015;
$custom-light: #78a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#398015",
  "rgb": {
    "r": 57,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 99.813,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53336,
    "c": 0.15355,
    "h": 137.8
  },
  "luminance": 0.16362
}

Semantic roles & 50–950 ramp

primary
#398015
secondary
#8C3CB5
accent
#39EFB2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #398015

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

Preview Lab → · Contrast checker → · Palette generator →

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