#7D9825#7D9825

#7D9825 is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.7% C 0.140 H 122.2°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7D9825
RGBrgb(125, 152, 37)
HSLhsl(74, 61%, 37%)
HSVhsv(74, 76%, 60%)
CMYKcmyk(17.8%, 0%, 75.7%, 40.4%)
CIE-LABlab(58.93, -25.47, 53.52)
CIE-LCHlch(58.93, 59.27, 115.45°)
OKLaboklab(63.73% -0.0748 0.1186)
OKLCHoklch(63.73% 0.14 122.2)
XYZxyz(20.0199, 26.9500, 5.8971)
Luminance0.2695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9825 #402598
analogous
#987A25 #7D9825 #449825
triadic
#7D9825 #257D98 #98257D
tetradic
#7D9825 #25987A #402598 #982544
square
#7D9825 #25987A #402598 #982544
split-complementary
#7D9825 #254498 #7A2598
monochromatic
#2C360D #556719 #7D9825 #A5C931 #BCD85F

Accessibility & contrast

On white

3.29
#7D9825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#7D9825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9825
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9825#FFFFFF#000000##000000
##7D98251.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E0C
Deuteranopia (green-blind)
#9E8E2F
Tritanopia (blue-blind)
#849082
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7d9825;
/* rgb */ color: rgb(125, 152, 37);
/* oklch */ color: oklch(63.7% 0.140 122.2);
Tailwind
colors: {
  custom: {
    50: '#a6b669',
    500: '#7d9825',
    950: '#000000',
  },
}
SCSS
$custom: #7d9825;
$custom-light: #a6b669;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9825",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 37
  },
  "hsl": {
    "h": 74.087,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63725,
    "c": 0.14019,
    "h": 122.2
  },
  "luminance": 0.2695
}

Semantic roles & 50–950 ramp

primary
#7D9825
secondary
#735CBD
accent
#44E469
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9825

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

Preview Lab → · Contrast checker → · Palette generator →

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