#7E9528#7E9528

#7E9528 is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 63.1% C 0.134 H 120.9°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7E9528
RGBrgb(126, 149, 40)
HSLhsl(73, 58%, 37%)
HSVhsv(73, 73%, 58%)
CMYKcmyk(15.4%, 0%, 73.2%, 41.6%)
CIE-LABlab(58.12, -23.39, 51.67)
CIE-LCHlch(58.12, 56.72, 114.36°)
OKLaboklab(63.1% -0.0688 0.1152)
OKLCHoklch(63.1% 0.134 120.9)
XYZxyz(19.7350, 26.0837, 6.0021)
Luminance0.2608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9528 #3F2895
analogous
#957628 #7E9528 #479528
triadic
#7E9528 #287E95 #95287E
tetradic
#7E9528 #289576 #3F2895 #952847
square
#7E9528 #289576 #3F2895 #952847
split-complementary
#7E9528 #284795 #762895
monochromatic
#2C350E #55651B #7E9528 #A7C535 #BDD562

Accessibility & contrast

On white

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

On black

6.22
#7E9528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9528
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9528#FFFFFF#000000##000000
##7E95281.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C14
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#858D80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e9528;
/* rgb */ color: rgb(126, 149, 40);
/* oklch */ color: oklch(63.1% 0.134 120.9);
Tailwind
colors: {
  custom: {
    50: '#a6b46a',
    500: '#7e9528',
    950: '#000000',
  },
}
SCSS
$custom: #7e9528;
$custom-light: #a6b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9528",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 72.661,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63095,
    "c": 0.13419,
    "h": 120.9
  },
  "luminance": 0.26084
}

Semantic roles & 50–950 ramp

primary
#7E9528
secondary
#725EBB
accent
#47E167
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9528

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

Preview Lab → · Contrast checker → · Palette generator →

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