#508262#508262

#508262 is a mid, moderate green. Relative luminance 0.186; OKLCH L 56.2% C 0.074 H 155.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#508262
RGBrgb(80, 130, 98)
HSLhsl(142, 24%, 41%)
HSVhsv(142, 38%, 51%)
CMYKcmyk(38.5%, 0%, 24.6%, 49%)
CIE-LABlab(50.16, -24.32, 12.12)
CIE-LCHlch(50.16, 27.17, 153.52°)
OKLaboklab(56.17% -0.0669 0.031)
OKLCHoklch(56.17% 0.074 155.2)
XYZxyz(13.4947, 18.5518, 14.4227)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508262 #825070
analogous
#578250 #508262 #50827B
triadic
#508262 #625082 #826250
tetradic
#508262 #505782 #825070 #827B50
square
#508262 #505782 #825070 #827B50
split-complementary
#508262 #7B5082 #825057
monochromatic
#213629 #395C45 #508262 #6BA480 #91BBA0

Accessibility & contrast

On white

4.46
#508262 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#508262 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508262
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508262#FFFFFF#000000##000000
##5082621.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#827B60
Deuteranopia (green-blind)
#7A7564
Tritanopia (blue-blind)
#468179
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #508262;
/* rgb */ color: rgb(80, 130, 98);
/* oklch */ color: oklch(56.2% 0.074 155.2);
Tailwind
colors: {
  custom: {
    50: '#83a68e',
    500: '#508262',
    950: '#000000',
  },
}
SCSS
$custom: #508262;
$custom-light: #83a68e;
$custom-dark: #000000;
JSON
{
  "hex": "#508262",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 98
  },
  "hsl": {
    "h": 141.6,
    "s": 23.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.56169,
    "c": 0.07377,
    "h": 155.2
  },
  "luminance": 0.18553
}

Semantic roles & 50–950 ramp

primary
#508262
secondary
#A8869C
accent
#68A0C0
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B0F0C
muted
#7C7F7D

Preview Lab

Preview with #508262

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

Preview Lab → · Contrast checker → · Palette generator →

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