#398522#398522

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

Color values

HEX#398522
RGBrgb(57, 133, 34)
HSLhsl(106, 59%, 33%)
HSVhsv(106, 74%, 52%)
CMYKcmyk(57.1%, 0%, 74.4%, 47.8%)
CIE-LABlab(49.20, -42.18, 43.81)
CIE-LCHlch(49.20, 60.82, 133.91°)
OKLaboklab(54.81% -0.116 0.0991)
OKLCHoklch(54.81% 0.153 139.5)
XYZxyz(10.3632, 17.7595, 4.3949)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398522 #6E2285
analogous
#6A8522 #398522 #22853D
triadic
#398522 #223985 #852239
tetradic
#398522 #226A85 #6E2285 #853D22
square
#398522 #226A85 #6E2285 #853D22
split-complementary
#398522 #3D2285 #85226A
monochromatic
#0F2409 #245416 #398522 #4EB62E #6ED24F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398522#FFFFFF#000000##FFFFFF
##3985221.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)
#897910
Deuteranopia (green-blind)
#7F732C
Tritanopia (blue-blind)
#318072
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #398522;
/* rgb */ color: rgb(57, 133, 34);
/* oklch */ color: oklch(54.8% 0.153 139.5);
Tailwind
colors: {
  custom: {
    50: '#78a964',
    500: '#398522',
    950: '#000000',
  },
}
SCSS
$custom: #398522;
$custom-light: #78a964;
$custom-dark: #000000;
JSON
{
  "hex": "#398522",
  "rgb": {
    "r": 57,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 106.061,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5481,
    "c": 0.15257,
    "h": 139.5
  },
  "luminance": 0.1776
}

Semantic roles & 50–950 ramp

primary
#398522
secondary
#9D4DB6
accent
#45E2BE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398522

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

Preview Lab → · Contrast checker → · Palette generator →

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