#398014#398014

#398014 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#398014
RGBrgb(57, 128, 20)
HSLhsl(99, 73%, 29%)
HSVhsv(99, 84%, 50%)
CMYKcmyk(55.5%, 0%, 84.4%, 49.8%)
CIE-LABlab(47.44, -41.15, 46.92)
CIE-LCHlch(47.44, 62.40, 131.25°)
OKLaboklab(53.33% -0.114 0.1035)
OKLCHoklch(53.33% 0.154 137.8)
XYZxyz(9.5325, 16.3580, 3.3168)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398014 #5B1480
analogous
#6F8014 #398014 #148025
triadic
#398014 #143980 #801439
tetradic
#398014 #146F80 #5B1480 #802514
square
#398014 #146F80 #5B1480 #802514
split-complementary
#398014 #251480 #80146F
monochromatic
#0C1A04 #214B0C #398014 #51B51C #6CDF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398014#FFFFFF#000000##FFFFFF
##3980141.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)
#7B6E21
Tritanopia (blue-blind)
#337B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #398014;
/* rgb */ color: rgb(57, 128, 20);
/* oklch */ color: oklch(53.3% 0.154 137.8);
Tailwind
colors: {
  custom: {
    50: '#78a55d',
    500: '#398014',
    950: '#000000',
  },
}
SCSS
$custom: #398014;
$custom-light: #78a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#398014",
  "rgb": {
    "r": 57,
    "g": 128,
    "b": 20
  },
  "hsl": {
    "h": 99.444,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5333,
    "c": 0.15401,
    "h": 137.8
  },
  "luminance": 0.16359
}

Semantic roles & 50–950 ramp

primary
#398014
secondary
#8B3BB5
accent
#38F0B1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #398014

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

Preview Lab → · Contrast checker → · Palette generator →

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