#7D9823#7D9823

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

Color values

HEX#7D9823
RGBrgb(125, 152, 35)
HSLhsl(74, 63%, 37%)
HSVhsv(74, 77%, 60%)
CMYKcmyk(17.8%, 0%, 77%, 40.4%)
CIE-LABlab(58.92, -25.57, 54.19)
CIE-LCHlch(58.92, 59.92, 115.26°)
OKLaboklab(63.71% -0.0752 0.1197)
OKLCHoklch(63.71% 0.141 122.2)
XYZxyz(19.9894, 26.9377, 5.7362)
Luminance0.2694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9823 #3E2398
analogous
#987923 #7D9823 #439823
triadic
#7D9823 #237D98 #98237D
tetradic
#7D9823 #239879 #3E2398 #982343
square
#7D9823 #239879 #3E2398 #982343
split-complementary
#7D9823 #234398 #792398
monochromatic
#2B350C #546618 #7D9823 #A6CA2E #BCD95C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D9823#FFFFFF#000000##000000
##7D98231.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)
#A18E06
Deuteranopia (green-blind)
#9E8E2E
Tritanopia (blue-blind)
#849082
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7d9823;
/* rgb */ color: rgb(125, 152, 35);
/* oklch */ color: oklch(63.7% 0.141 122.2);
Tailwind
colors: {
  custom: {
    50: '#a6b668',
    500: '#7d9823',
    950: '#000000',
  },
}
SCSS
$custom: #7d9823;
$custom-light: #a6b668;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9823",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 35
  },
  "hsl": {
    "h": 73.846,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63713,
    "c": 0.14135,
    "h": 122.2
  },
  "luminance": 0.26938
}

Semantic roles & 50–950 ramp

primary
#7D9823
secondary
#7059BE
accent
#42E668
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9823

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

Preview Lab → · Contrast checker → · Palette generator →

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