#398011#398011

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

Color values

HEX#398011
RGBrgb(57, 128, 17)
HSLhsl(98, 77%, 28%)
HSVhsv(98, 87%, 50%)
CMYKcmyk(55.5%, 0%, 86.7%, 49.8%)
CIE-LABlab(47.43, -41.29, 47.74)
CIE-LCHlch(47.43, 63.12, 130.86°)
OKLaboklab(53.32% -0.1146 0.1048)
OKLCHoklch(53.32% 0.155 137.6)
XYZxyz(9.5074, 16.3479, 3.1847)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398011 #581180
analogous
#708011 #398011 #118020
triadic
#398011 #113980 #801139
tetradic
#398011 #117080 #581180 #802011
square
#398011 #117080 #581180 #802011
split-complementary
#398011 #201180 #801170
monochromatic
#0C1B04 #214A0A #398011 #51B618 #6CE329

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398011#FFFFFF#000000##FFFFFF
##3980111.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)
#7B6E20
Tritanopia (blue-blind)
#347B6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #398011;
/* rgb */ color: rgb(57, 128, 17);
/* oklch */ color: oklch(53.3% 0.155 137.6);
Tailwind
colors: {
  custom: {
    50: '#78a55c',
    500: '#398011',
    950: '#000000',
  },
}
SCSS
$custom: #398011;
$custom-light: #78a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#398011",
  "rgb": {
    "r": 57,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 98.378,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53316,
    "c": 0.15528,
    "h": 137.6
  },
  "luminance": 0.16349
}

Semantic roles & 50–950 ramp

primary
#398011
secondary
#8837B6
accent
#35F3AE
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #398011

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

Preview Lab → · Contrast checker → · Palette generator →

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