#398013#398013

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

Color values

HEX#398013
RGBrgb(57, 128, 19)
HSLhsl(99, 74%, 29%)
HSVhsv(99, 85%, 50%)
CMYKcmyk(55.5%, 0%, 85.2%, 49.8%)
CIE-LABlab(47.44, -41.20, 47.20)
CIE-LCHlch(47.44, 62.65, 131.12°)
OKLaboklab(53.33% -0.1142 0.104)
OKLCHoklch(53.33% 0.154 137.7)
XYZxyz(9.5237, 16.3545, 3.2708)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398013 #5A1380
analogous
#708013 #398013 #138024
triadic
#398013 #133980 #801339
tetradic
#398013 #137080 #5A1380 #802413
square
#398013 #137080 #5A1380 #802413
split-complementary
#398013 #241380 #801370
monochromatic
#0C1B04 #214B0B #398013 #51B51B #6CE02D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398013#FFFFFF#000000##FFFFFF
##3980131.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)
#337B6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #398013;
/* rgb */ color: rgb(57, 128, 19);
/* oklch */ color: oklch(53.3% 0.154 137.7);
Tailwind
colors: {
  custom: {
    50: '#78a55c',
    500: '#398013',
    950: '#000000',
  },
}
SCSS
$custom: #398013;
$custom-light: #78a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#398013",
  "rgb": {
    "r": 57,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 99.083,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53325,
    "c": 0.15445,
    "h": 137.7
  },
  "luminance": 0.16355
}

Semantic roles & 50–950 ramp

primary
#398013
secondary
#8A39B5
accent
#37F1B0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #398013

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

Preview Lab → · Contrast checker → · Palette generator →

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