#7FA527#7FA527

#7FA527 is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 67.0% C 0.154 H 125.4°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7FA527
RGBrgb(127, 165, 39)
HSLhsl(78, 62%, 40%)
HSVhsv(78, 76%, 65%)
CMYKcmyk(23%, 0%, 76.4%, 35.3%)
CIE-LABlab(62.98, -30.81, 56.74)
CIE-LCHlch(62.98, 64.57, 118.50°)
OKLaboklab(67.05% -0.0893 0.1257)
OKLCHoklch(67.05% 0.154 125.4)
XYZxyz(22.5739, 31.5685, 6.8231)
Luminance0.3157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA527 #4D27A5
analogous
#A58C27 #7FA527 #40A527
triadic
#7FA527 #277FA5 #A5277F
tetradic
#7FA527 #27A58C #4D27A5 #A52740
square
#7FA527 #27A58C #4D27A5 #A52740
split-complementary
#7FA527 #2740A5 #8C27A5
monochromatic
#334210 #59741B #7FA527 #A3D039 #BADC6A

Accessibility & contrast

On white

2.87
#7FA527 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#7FA527 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA527
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA527#FFFFFF#000000##000000
##7FA5271.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A08
Deuteranopia (green-blind)
#A99833
Tritanopia (blue-blind)
#859D8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa527;
/* rgb */ color: rgb(127, 165, 39);
/* oklch */ color: oklch(67.0% 0.154 125.4);
Tailwind
colors: {
  custom: {
    50: '#a8bf6b',
    500: '#7fa527',
    950: '#000000',
  },
}
SCSS
$custom: #7fa527;
$custom-light: #a8bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa527",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 39
  },
  "hsl": {
    "h": 78.095,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.67045,
    "c": 0.15417,
    "h": 125.4
  },
  "luminance": 0.31569
}

Semantic roles & 50–950 ramp

primary
#7FA527
secondary
#8266C2
accent
#43E574
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA527

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

Preview Lab → · Contrast checker → · Palette generator →

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