#7E9524#7E9524

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

Color values

HEX#7E9524
RGBrgb(126, 149, 36)
HSLhsl(72, 61%, 36%)
HSVhsv(72, 76%, 58%)
CMYKcmyk(15.4%, 0%, 75.8%, 41.6%)
CIE-LABlab(58.09, -23.61, 53.09)
CIE-LCHlch(58.09, 58.11, 113.97°)
OKLaboklab(63.07% -0.0698 0.1175)
OKLCHoklch(63.07% 0.137 120.7)
XYZxyz(19.6704, 26.0579, 5.6621)
Luminance0.2606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9524 #3B2495
analogous
#957424 #7E9524 #469524
triadic
#7E9524 #247E95 #95247E
tetradic
#7E9524 #249574 #3B2495 #952446
square
#7E9524 #249574 #3B2495 #952446
split-complementary
#7E9524 #244695 #742495
monochromatic
#2B320C #546418 #7E9524 #A8C630 #BED85C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9524#FFFFFF#000000##000000
##7E95241.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)
#9F8C0B
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#858D80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e9524;
/* rgb */ color: rgb(126, 149, 36);
/* oklch */ color: oklch(63.1% 0.137 120.7);
Tailwind
colors: {
  custom: {
    50: '#a7b468',
    500: '#7e9524',
    950: '#000000',
  },
}
SCSS
$custom: #7e9524;
$custom-light: #a7b468;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9524",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 36
  },
  "hsl": {
    "h": 72.212,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63067,
    "c": 0.13667,
    "h": 120.7
  },
  "luminance": 0.26058
}

Semantic roles & 50–950 ramp

primary
#7E9524
secondary
#6D59BC
accent
#44E464
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9524

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

Preview Lab → · Contrast checker → · Palette generator →

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