#7E9526#7E9526

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

Color values

HEX#7E9526
RGBrgb(126, 149, 38)
HSLhsl(72, 59%, 37%)
HSVhsv(72, 74%, 58%)
CMYKcmyk(15.4%, 0%, 74.5%, 41.6%)
CIE-LABlab(58.10, -23.50, 52.39)
CIE-LCHlch(58.10, 57.42, 114.16°)
OKLaboklab(63.08% -0.0693 0.1164)
OKLCHoklch(63.08% 0.135 120.8)
XYZxyz(19.7018, 26.0705, 5.8275)
Luminance0.2607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9526 #3D2695
analogous
#957526 #7E9526 #479526
triadic
#7E9526 #267E95 #95267E
tetradic
#7E9526 #269575 #3D2695 #952647
square
#7E9526 #269575 #3D2695 #952647
split-complementary
#7E9526 #264795 #752695
monochromatic
#2C330D #55641A #7E9526 #A7C632 #BED65F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9526#FFFFFF#000000##000000
##7E95261.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)
#9E8C10
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#858D80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e9526;
/* rgb */ color: rgb(126, 149, 38);
/* oklch */ color: oklch(63.1% 0.135 120.8);
Tailwind
colors: {
  custom: {
    50: '#a7b469',
    500: '#7e9526',
    950: '#000000',
  },
}
SCSS
$custom: #7e9526;
$custom-light: #a7b469;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9526",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 72.432,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6308,
    "c": 0.13546,
    "h": 120.8
  },
  "luminance": 0.2607
}

Semantic roles & 50–950 ramp

primary
#7E9526
secondary
#6F5BBB
accent
#45E366
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9526

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

Preview Lab → · Contrast checker → · Palette generator →

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