#7F9268#7F9268

#7F9268 is a light, moderate yellow-green. Relative luminance 0.261; OKLCH L 63.4% C 0.064 H 127.9°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7F9268
RGBrgb(127, 146, 104)
HSLhsl(87, 17%, 49%)
HSVhsv(87, 29%, 57%)
CMYKcmyk(13%, 0%, 28.8%, 42.7%)
CIE-LABlab(58.10, -14.62, 20.09)
CIE-LCHlch(58.10, 24.84, 126.04°)
OKLaboklab(63.36% -0.0394 0.0506)
OKLCHoklch(63.36% 0.064 127.9)
XYZxyz(21.5296, 26.0691, 16.9916)
Luminance0.2607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9268 #7B6892
analogous
#929068 #7F9268 #6A9268
triadic
#7F9268 #687F92 #92687F
tetradic
#7F9268 #689290 #7B6892 #92686A
square
#7F9268 #689290 #7B6892 #92686A
split-complementary
#7F9268 #686A92 #906892
monochromatic
#414B35 #606E4F #7F9268 #9DAC8B #BBC6AF

Accessibility & contrast

On white

3.38
#7F9268 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#7F9268 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9268
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9268#FFFFFF#000000##000000
##7F92681.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968C65
Deuteranopia (green-blind)
#938B6A
Tritanopia (blue-blind)
#818E87
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7f9268;
/* rgb */ color: rgb(127, 146, 104);
/* oklch */ color: oklch(63.4% 0.064 127.9);
Tailwind
colors: {
  custom: {
    50: '#a4b293',
    500: '#7f9268',
    950: '#000000',
  },
}
SCSS
$custom: #7f9268;
$custom-light: #a4b293;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9268",
  "rgb": {
    "r": 127,
    "g": 146,
    "b": 104
  },
  "hsl": {
    "h": 87.143,
    "s": 16.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.63362,
    "c": 0.06415,
    "h": 127.9
  },
  "luminance": 0.26069
}

Semantic roles & 50–950 ramp

primary
#7F9268
secondary
#AAA1B5
accent
#6EBA90
background
#FAFAF9
surface
#F4F5F1
border
#CECFCB
text
#0F100D
muted
#7F7F7E

Preview Lab

Preview with #7F9268

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

Preview Lab → · Contrast checker → · Palette generator →

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