#7FA265#7FA265

#7FA265 is a light, moderate yellow-green. Relative luminance 0.313; OKLCH L 67.1% C 0.094 H 132.7°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7FA265
RGBrgb(127, 162, 101)
HSLhsl(94, 25%, 52%)
HSVhsv(94, 38%, 64%)
CMYKcmyk(21.6%, 0%, 37.7%, 36.5%)
CIE-LABlab(62.75, -23.33, 27.91)
CIE-LCHlch(62.75, 36.38, 129.89°)
OKLaboklab(67.07% -0.0638 0.0691)
OKLCHoklch(67.07% 0.094 132.7)
XYZxyz(24.0212, 31.2918, 17.0837)
Luminance0.3129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA265 #8865A2
analogous
#9EA265 #7FA265 #65A26A
triadic
#7FA265 #657FA2 #A2657F
tetradic
#7FA265 #659EA2 #8865A2 #A26A65
square
#7FA265 #659EA2 #8865A2 #A26A65
split-complementary
#7FA265 #6A65A2 #A2659E
monochromatic
#445835 #617E4C #7FA265 #9FB98B #BED0B1

Accessibility & contrast

On white

2.89
#7FA265 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#7FA265 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA265
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA265#FFFFFF#000000##000000
##7FA2651.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79A61
Deuteranopia (green-blind)
#A29768
Tritanopia (blue-blind)
#809D93
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa265;
/* rgb */ color: rgb(127, 162, 101);
/* oklch */ color: oklch(67.1% 0.094 132.7);
Tailwind
colors: {
  custom: {
    50: '#a5bd91',
    500: '#7fa265',
    950: '#000000',
  },
}
SCSS
$custom: #7fa265;
$custom-light: #a5bd91;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa265",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 101
  },
  "hsl": {
    "h": 94.426,
    "s": 24.696,
    "l": 51.569
  },
  "oklch": {
    "l": 0.67073,
    "c": 0.09401,
    "h": 132.7
  },
  "luminance": 0.31292
}

Semantic roles & 50–950 ramp

primary
#7FA265
secondary
#B3A4BF
accent
#67C19B
background
#FAFBF9
surface
#F4F6F1
border
#CED0CB
text
#0F120D
muted
#7F817E

Preview Lab

Preview with #7FA265

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

Preview Lab → · Contrast checker → · Palette generator →

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