#7D9526#7D9526

#7D9526 is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 63.0% C 0.136 H 121.2°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7D9526
RGBrgb(125, 149, 38)
HSLhsl(73, 59%, 37%)
HSVhsv(73, 74%, 58%)
CMYKcmyk(16.1%, 0%, 74.5%, 41.6%)
CIE-LABlab(58.03, -23.93, 52.30)
CIE-LCHlch(58.03, 57.51, 114.59°)
OKLaboklab(63% -0.0704 0.1162)
OKLCHoklch(63% 0.136 121.2)
XYZxyz(19.5551, 25.9948, 5.8207)
Luminance0.2600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9526 #3E2695
analogous
#957626 #7D9526 #469526
triadic
#7D9526 #267D95 #95267D
tetradic
#7D9526 #269576 #3E2695 #952646
square
#7D9526 #269576 #3E2695 #952646
split-complementary
#7D9526 #264695 #762695
monochromatic
#2B330D #54641A #7D9526 #A6C632 #BCD65F

Accessibility & contrast

On white

3.39
#7D9526 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#7D9526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9526
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9526#FFFFFF#000000##000000
##7D95261.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C10
Deuteranopia (green-blind)
#9B8C30
Tritanopia (blue-blind)
#848D80
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7d9526;
/* rgb */ color: rgb(125, 149, 38);
/* oklch */ color: oklch(63.0% 0.136 121.2);
Tailwind
colors: {
  custom: {
    50: '#a6b469',
    500: '#7d9526',
    950: '#000000',
  },
}
SCSS
$custom: #7d9526;
$custom-light: #a6b469;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9526",
  "rgb": {
    "r": 125,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 72.973,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63004,
    "c": 0.13589,
    "h": 121.2
  },
  "luminance": 0.25995
}

Semantic roles & 50–950 ramp

primary
#7D9526
secondary
#705BBB
accent
#45E367
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9526

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

Preview Lab → · Contrast checker → · Palette generator →

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