#398523#398523

#398523 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.152 H 139.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#398523
RGBrgb(57, 133, 35)
HSLhsl(107, 58%, 33%)
HSVhsv(107, 74%, 52%)
CMYKcmyk(57.1%, 0%, 73.7%, 47.8%)
CIE-LABlab(49.21, -42.10, 43.43)
CIE-LCHlch(49.21, 60.48, 134.11°)
OKLaboklab(54.82% -0.1157 0.0985)
OKLCHoklch(54.82% 0.152 139.6)
XYZxyz(10.3778, 17.7654, 4.4720)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398523 #6F2385
analogous
#6A8523 #398523 #23853E
triadic
#398523 #233985 #852339
tetradic
#398523 #236A85 #6F2385 #853E23
square
#398523 #236A85 #6F2385 #853E23
split-complementary
#398523 #3E2385 #85236A
monochromatic
#0F2409 #245516 #398523 #4EB530 #6ED151

Accessibility & contrast

On white

4.61
#398523 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#398523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #398523
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398523#FFFFFF#000000##FFFFFF
##3985231.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897912
Deuteranopia (green-blind)
#7F732D
Tritanopia (blue-blind)
#318072
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #398523;
/* rgb */ color: rgb(57, 133, 35);
/* oklch */ color: oklch(54.8% 0.152 139.6);
Tailwind
colors: {
  custom: {
    50: '#78a964',
    500: '#398523',
    950: '#000000',
  },
}
SCSS
$custom: #398523;
$custom-light: #78a964;
$custom-dark: #000000;
JSON
{
  "hex": "#398523",
  "rgb": {
    "r": 57,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 106.531,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54818,
    "c": 0.15192,
    "h": 139.6
  },
  "luminance": 0.17766
}

Semantic roles & 50–950 ramp

primary
#398523
secondary
#9E4FB5
accent
#46E2BF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398523

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

Preview Lab → · Contrast checker → · Palette generator →

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