#7FA253#7FA253

#7FA253 is a light, moderate yellow-green. Relative luminance 0.310; OKLCH L 66.8% C 0.114 H 128.8°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7FA253
RGBrgb(127, 162, 83)
HSLhsl(87, 32%, 48%)
HSVhsv(87, 49%, 64%)
CMYKcmyk(21.6%, 0%, 48.8%, 36.5%)
CIE-LABlab(62.49, -25.68, 37.00)
CIE-LCHlch(62.49, 45.04, 124.76°)
OKLaboklab(66.77% -0.0713 0.0889)
OKLCHoklch(66.77% 0.114 128.8)
XYZxyz(23.2339, 30.9768, 12.9370)
Luminance0.3098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA253 #7653A2
analogous
#A29D53 #7FA253 #57A253
triadic
#7FA253 #537FA2 #A2537F
tetradic
#7FA253 #53A29D #7653A2 #A25357
square
#7FA253 #53A29D #7653A2 #A25357
split-complementary
#7FA253 #5357A2 #9D53A2
monochromatic
#40512A #5F7A3E #7FA253 #9DBA78 #BACFA1

Accessibility & contrast

On white

2.92
#7FA253 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#7FA253 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA253
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA253#FFFFFF#000000##000000
##7FA2531.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9994C
Deuteranopia (green-blind)
#A49658
Tritanopia (blue-blind)
#829C90
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa253;
/* rgb */ color: rgb(127, 162, 83);
/* oklch */ color: oklch(66.8% 0.114 128.8);
Tailwind
colors: {
  custom: {
    50: '#a6bd85',
    500: '#7fa253',
    950: '#000000',
  },
}
SCSS
$custom: #7fa253;
$custom-light: #a6bd85;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa253",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 83
  },
  "hsl": {
    "h": 86.582,
    "s": 32.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.66773,
    "c": 0.11393,
    "h": 128.8
  },
  "luminance": 0.30977
}

Semantic roles & 50–950 ramp

primary
#7FA253
secondary
#A695BC
accent
#5FC88E
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA253

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

Preview Lab → · Contrast checker → · Palette generator →

#7FA253 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva