#7E9527#7E9527

#7E9527 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.22:1 contrast (WCAG AA passes).

Color values

HEX#7E9527
RGBrgb(126, 149, 39)
HSLhsl(73, 59%, 37%)
HSVhsv(73, 74%, 58%)
CMYKcmyk(15.4%, 0%, 73.8%, 41.6%)
CIE-LABlab(58.11, -23.45, 52.04)
CIE-LCHlch(58.11, 57.07, 114.26°)
OKLaboklab(63.09% -0.0691 0.1158)
OKLCHoklch(63.09% 0.135 120.8)
XYZxyz(19.7182, 26.0770, 5.9136)
Luminance0.2608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9527 #3E2795
analogous
#957527 #7E9527 #479527
triadic
#7E9527 #277E95 #95277E
tetradic
#7E9527 #279575 #3E2795 #952747
square
#7E9527 #279575 #3E2795 #952747
split-complementary
#7E9527 #274795 #752795
monochromatic
#2C340E #55641A #7E9527 #A7C634 #BDD661

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7e9527;
/* rgb */ color: rgb(126, 149, 39);
/* oklch */ color: oklch(63.1% 0.135 120.8);
Tailwind
colors: {
  custom: {
    50: '#a6b469',
    500: '#7e9527',
    950: '#000000',
  },
}
SCSS
$custom: #7e9527;
$custom-light: #a6b469;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9527",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 39
  },
  "hsl": {
    "h": 72.545,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63087,
    "c": 0.13483,
    "h": 120.8
  },
  "luminance": 0.26077
}

Semantic roles & 50–950 ramp

primary
#7E9527
secondary
#705DBB
accent
#46E267
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9527

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

Preview Lab → · Contrast checker → · Palette generator →

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