#398113#398113

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

Color values

HEX#398113
RGBrgb(57, 129, 19)
HSLhsl(99, 74%, 29%)
HSVhsv(99, 85%, 51%)
CMYKcmyk(55.8%, 0%, 85.3%, 49.4%)
CIE-LABlab(47.77, -41.59, 47.51)
CIE-LCHlch(47.77, 63.14, 131.20°)
OKLaboklab(53.6% -0.1153 0.1046)
OKLCHoklch(53.6% 0.156 137.8)
XYZxyz(9.6548, 16.6166, 3.3145)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398113 #5B1381
analogous
#708113 #398113 #138124
triadic
#398113 #133981 #811339
tetradic
#398113 #137081 #5B1381 #812413
square
#398113 #137081 #5B1381 #812413
split-complementary
#398113 #241381 #811370
monochromatic
#0C1B04 #214C0B #398113 #51B61B #6CE02E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #398113;
/* rgb */ color: rgb(57, 129, 19);
/* oklch */ color: oklch(53.6% 0.156 137.8);
Tailwind
colors: {
  custom: {
    50: '#78a65c',
    500: '#398113',
    950: '#000000',
  },
}
SCSS
$custom: #398113;
$custom-light: #78a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#398113",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 19
  },
  "hsl": {
    "h": 99.273,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53603,
    "c": 0.15566,
    "h": 137.8
  },
  "luminance": 0.16617
}

Semantic roles & 50–950 ramp

primary
#398113
secondary
#8B3AB6
accent
#37F1B1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #398113

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

Preview Lab → · Contrast checker → · Palette generator →

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