#478239#478239

#478239 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.9% C 0.123 H 139.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#478239
RGBrgb(71, 130, 57)
HSLhsl(108, 39%, 37%)
HSVhsv(108, 56%, 51%)
CMYKcmyk(45.4%, 0%, 56.2%, 49%)
CIE-LABlab(49.01, -34.20, 33.24)
CIE-LCHlch(49.01, 47.69, 135.82°)
OKLaboklab(54.88% -0.0937 0.0791)
OKLCHoklch(54.88% 0.123 139.8)
XYZxyz(11.3193, 17.5996, 6.6707)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478239 #743982
analogous
#6C8239 #478239 #398250
triadic
#478239 #394782 #823947
tetradic
#478239 #396C82 #743982 #825039
square
#478239 #396C82 #743982 #825039
split-complementary
#478239 #503982 #82396C
monochromatic
#192D14 #305726 #478239 #5EAD4C #83C274

Accessibility & contrast

On white

4.65
#478239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#478239 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #478239
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478239#FFFFFF#000000##FFFFFF
##4782391.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857832
Deuteranopia (green-blind)
#7D723E
Tritanopia (blue-blind)
#427E72
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #478239;
/* rgb */ color: rgb(71, 130, 57);
/* oklch */ color: oklch(54.9% 0.123 139.8);
Tailwind
colors: {
  custom: {
    50: '#7fa771',
    500: '#478239',
    950: '#000000',
  },
}
SCSS
$custom: #478239;
$custom-light: #7fa771;
$custom-dark: #000000;
JSON
{
  "hex": "#478239",
  "rgb": {
    "r": 71,
    "g": 130,
    "b": 57
  },
  "hsl": {
    "h": 108.493,
    "s": 39.037,
    "l": 36.667
  },
  "oklch": {
    "l": 0.5488,
    "c": 0.12261,
    "h": 139.8
  },
  "luminance": 0.176
}

Semantic roles & 50–950 ramp

primary
#478239
secondary
#9F6CAB
accent
#59CFB8
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A0F08
muted
#7C7F7B

Preview Lab

Preview with #478239

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

Preview Lab → · Contrast checker → · Palette generator →

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