#7E9268#7E9268

#7E9268 is a light, moderate yellow-green. Relative luminance 0.260; OKLCH L 63.3% C 0.065 H 128.8°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7E9268
RGBrgb(126, 146, 104)
HSLhsl(89, 17%, 49%)
HSVhsv(89, 29%, 57%)
CMYKcmyk(13.7%, 0%, 28.8%, 42.7%)
CIE-LABlab(58.03, -15.01, 19.98)
CIE-LCHlch(58.03, 24.98, 126.91°)
OKLaboklab(63.29% -0.0405 0.0504)
OKLCHoklch(63.29% 0.065 128.8)
XYZxyz(21.3814, 25.9927, 16.9847)
Luminance0.2599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9268 #7C6892
analogous
#929168 #7E9268 #699268
triadic
#7E9268 #687E92 #92687E
tetradic
#7E9268 #689291 #7C6892 #926869
square
#7E9268 #689291 #7C6892 #926869
split-complementary
#7E9268 #686992 #916892
monochromatic
#404B35 #5F6E4F #7E9268 #9CAC8B #BBC6AF

Accessibility & contrast

On white

3.39
#7E9268 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#7E9268 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9268
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9268#FFFFFF#000000##000000
##7E92681.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e9268;
/* rgb */ color: rgb(126, 146, 104);
/* oklch */ color: oklch(63.3% 0.065 128.8);
Tailwind
colors: {
  custom: {
    50: '#a4b293',
    500: '#7e9268',
    950: '#000000',
  },
}
SCSS
$custom: #7e9268;
$custom-light: #a4b293;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9268",
  "rgb": {
    "r": 126,
    "g": 146,
    "b": 104
  },
  "hsl": {
    "h": 88.571,
    "s": 16.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.63286,
    "c": 0.06461,
    "h": 128.8
  },
  "luminance": 0.25993
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E9268

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

Preview Lab → · Contrast checker → · Palette generator →

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