#398413#398413

#398413 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.4% C 0.159 H 138.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#398413
RGBrgb(57, 132, 19)
HSLhsl(100, 75%, 30%)
HSVhsv(100, 86%, 52%)
CMYKcmyk(56.8%, 0%, 85.6%, 48.2%)
CIE-LABlab(48.78, -42.76, 48.42)
CIE-LCHlch(48.78, 64.60, 131.45°)
OKLaboklab(54.44% -0.1184 0.1065)
OKLCHoklch(54.44% 0.159 138)
XYZxyz(10.0558, 17.4186, 3.4482)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398413 #5E1384
analogous
#728413 #398413 #138426
triadic
#398413 #133984 #841339
tetradic
#398413 #137284 #5E1384 #842613
square
#398413 #137284 #5E1384 #842613
split-complementary
#398413 #261384 #841372
monochromatic
#0C1B04 #224F0B #398413 #50B91B #6CE130

Accessibility & contrast

On white

4.68
#398413 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#398413 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398413
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398413#FFFFFF#000000##FFFFFF
##3984131.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7F7222
Tritanopia (blue-blind)
#327F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #398413;
/* rgb */ color: rgb(57, 132, 19);
/* oklch */ color: oklch(54.4% 0.159 138.0);
Tailwind
colors: {
  custom: {
    50: '#79a85d',
    500: '#398413',
    950: '#000000',
  },
}
SCSS
$custom: #398413;
$custom-light: #79a85d;
$custom-dark: #000000;
JSON
{
  "hex": "#398413",
  "rgb": {
    "r": 57,
    "g": 132,
    "b": 19
  },
  "hsl": {
    "h": 99.823,
    "s": 74.834,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54437,
    "c": 0.15926,
    "h": 138
  },
  "luminance": 0.17419
}

Semantic roles & 50–950 ramp

primary
#398413
secondary
#8E3AB9
accent
#36F1B3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398413

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

Preview Lab → · Contrast checker → · Palette generator →

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