#398111#398111

#398111 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.6% C 0.156 H 137.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#398111
RGBrgb(57, 129, 17)
HSLhsl(99, 77%, 29%)
HSVhsv(99, 87%, 51%)
CMYKcmyk(55.8%, 0%, 86.8%, 49.4%)
CIE-LABlab(47.77, -41.69, 48.04)
CIE-LCHlch(47.77, 63.60, 130.95°)
OKLaboklab(53.59% -0.1156 0.1054)
OKLCHoklch(53.59% 0.156 137.6)
XYZxyz(9.6384, 16.6101, 3.2284)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398111 #591181
analogous
#718111 #398111 #118121
triadic
#398111 #113981 #811139
tetradic
#398111 #117181 #591181 #812111
square
#398111 #117181 #591181 #812111
split-complementary
#398111 #211181 #811171
monochromatic
#0C1B04 #214B0A #398111 #51B718 #6CE32A

Accessibility & contrast

On white

4.86
#398111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#398111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398111
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398111#FFFFFF#000000##FFFFFF
##3981111.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#337C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #398111;
/* rgb */ color: rgb(57, 129, 17);
/* oklch */ color: oklch(53.6% 0.156 137.6);
Tailwind
colors: {
  custom: {
    50: '#78a65c',
    500: '#398111',
    950: '#000000',
  },
}
SCSS
$custom: #398111;
$custom-light: #78a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#398111",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 17
  },
  "hsl": {
    "h": 98.571,
    "s": 76.712,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53594,
    "c": 0.15648,
    "h": 137.6
  },
  "luminance": 0.16611
}

Semantic roles & 50–950 ramp

primary
#398111
secondary
#8937B7
accent
#35F3AF
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #398111

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

Preview Lab → · Contrast checker → · Palette generator →

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