#7E9525#7E9525

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

Color values

HEX#7E9525
RGBrgb(126, 149, 37)
HSLhsl(72, 60%, 36%)
HSVhsv(72, 75%, 58%)
CMYKcmyk(15.4%, 0%, 75.2%, 41.6%)
CIE-LABlab(58.10, -23.56, 52.75)
CIE-LCHlch(58.10, 57.77, 114.07°)
OKLaboklab(63.07% -0.0696 0.1169)
OKLCHoklch(63.07% 0.136 120.7)
XYZxyz(19.6859, 26.0641, 5.7437)
Luminance0.2606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9525 #3C2595
analogous
#957425 #7E9525 #469525
triadic
#7E9525 #257E95 #95257E
tetradic
#7E9525 #259574 #3C2595 #952546
square
#7E9525 #259574 #3C2595 #952546
split-complementary
#7E9525 #254695 #742595
monochromatic
#2B330D #556419 #7E9525 #A7C631 #BED75E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9525#FFFFFF#000000##000000
##7E95251.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)
#9F8C0D
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#858D80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e9525;
/* rgb */ color: rgb(126, 149, 37);
/* oklch */ color: oklch(63.1% 0.136 120.7);
Tailwind
colors: {
  custom: {
    50: '#a7b468',
    500: '#7e9525',
    950: '#000000',
  },
}
SCSS
$custom: #7e9525;
$custom-light: #a7b468;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9525",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 37
  },
  "hsl": {
    "h": 72.321,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63074,
    "c": 0.13607,
    "h": 120.7
  },
  "luminance": 0.26064
}

Semantic roles & 50–950 ramp

primary
#7E9525
secondary
#6E5ABC
accent
#44E365
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9525

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

Preview Lab → · Contrast checker → · Palette generator →

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