#398110#398110

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

Color values

HEX#398110
RGBrgb(57, 129, 16)
HSLhsl(98, 78%, 28%)
HSVhsv(98, 88%, 51%)
CMYKcmyk(55.8%, 0%, 87.6%, 49.4%)
CIE-LABlab(47.76, -41.73, 48.29)
CIE-LCHlch(47.76, 63.82, 130.83°)
OKLaboklab(53.59% -0.1158 0.1058)
OKLCHoklch(53.59% 0.157 137.6)
XYZxyz(9.6308, 16.6070, 3.1881)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398110 #581081
analogous
#718110 #398110 #10811F
triadic
#398110 #103981 #811039
tetradic
#398110 #107181 #581081 #811F10
square
#398110 #107181 #581081 #811F10
split-complementary
#398110 #1F1081 #811071
monochromatic
#0C1B03 #214B09 #398110 #51B717 #6CE427

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398110#FFFFFF#000000##FFFFFF
##3981101.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)
#7C6F1F
Tritanopia (blue-blind)
#337C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #398110;
/* rgb */ color: rgb(57, 129, 16);
/* oklch */ color: oklch(53.6% 0.157 137.6);
Tailwind
colors: {
  custom: {
    50: '#78a65b',
    500: '#398110',
    950: '#000000',
  },
}
SCSS
$custom: #398110;
$custom-light: #78a65b;
$custom-dark: #000000;
JSON
{
  "hex": "#398110",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 16
  },
  "hsl": {
    "h": 98.23,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.15686,
    "h": 137.6
  },
  "luminance": 0.16608
}

Semantic roles & 50–950 ramp

primary
#398110
secondary
#8836B7
accent
#33F4AE
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #398110

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

Preview Lab → · Contrast checker → · Palette generator →

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