#398114#398114

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

Color values

HEX#398114
RGBrgb(57, 129, 20)
HSLhsl(100, 73%, 29%)
HSVhsv(100, 84%, 51%)
CMYKcmyk(55.8%, 0%, 84.5%, 49.4%)
CIE-LABlab(47.78, -41.54, 47.23)
CIE-LCHlch(47.78, 62.90, 131.33°)
OKLaboklab(53.61% -0.1151 0.1042)
OKLCHoklch(53.61% 0.155 137.9)
XYZxyz(9.6635, 16.6201, 3.3605)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398114 #5C1481
analogous
#708114 #398114 #148126
triadic
#398114 #143981 #811439
tetradic
#398114 #147081 #5C1481 #812614
square
#398114 #147081 #5C1481 #812614
split-complementary
#398114 #261481 #811470
monochromatic
#0C1A04 #224C0C #398114 #50B61C #6CDF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #398114;
/* rgb */ color: rgb(57, 129, 20);
/* oklch */ color: oklch(53.6% 0.155 137.9);
Tailwind
colors: {
  custom: {
    50: '#78a65d',
    500: '#398114',
    950: '#000000',
  },
}
SCSS
$custom: #398114;
$custom-light: #78a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#398114",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 99.633,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53608,
    "c": 0.15523,
    "h": 137.9
  },
  "luminance": 0.16621
}

Semantic roles & 50–950 ramp

primary
#398114
secondary
#8C3BB6
accent
#38F0B1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #398114

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

Preview Lab → · Contrast checker → · Palette generator →

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