#7D9923#7D9923

#7D9923 is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 64.0% C 0.143 H 122.5°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7D9923
RGBrgb(125, 153, 35)
HSLhsl(74, 63%, 37%)
HSVhsv(74, 77%, 60%)
CMYKcmyk(18.3%, 0%, 77.1%, 40%)
CIE-LABlab(59.22, -26.07, 54.47)
CIE-LCHlch(59.22, 60.39, 115.57°)
OKLaboklab(63.96% -0.0766 0.1203)
OKLCHoklch(63.96% 0.143 122.5)
XYZxyz(20.1523, 27.2637, 5.7905)
Luminance0.2726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9923 #3F2399
analogous
#997A23 #7D9923 #429923
triadic
#7D9923 #237D99 #99237D
tetradic
#7D9923 #23997A #3F2399 #992342
square
#7D9923 #23997A #3F2399 #992342
split-complementary
#7D9923 #234299 #7A2399
monochromatic
#2C350C #546718 #7D9923 #A6CB2E #BCDA5D

Accessibility & contrast

On white

3.25
#7D9923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#7D9923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9923
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9923#FFFFFF#000000##000000
##7D99231.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F05
Deuteranopia (green-blind)
#9F8E2E
Tritanopia (blue-blind)
#849183
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7d9923;
/* rgb */ color: rgb(125, 153, 35);
/* oklch */ color: oklch(64.0% 0.143 122.5);
Tailwind
colors: {
  custom: {
    50: '#a6b768',
    500: '#7d9923',
    950: '#000000',
  },
}
SCSS
$custom: #7d9923;
$custom-light: #a6b768;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9923",
  "rgb": {
    "r": 125,
    "g": 153,
    "b": 35
  },
  "hsl": {
    "h": 74.237,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63956,
    "c": 0.14256,
    "h": 122.5
  },
  "luminance": 0.27264
}

Semantic roles & 50–950 ramp

primary
#7D9923
secondary
#7159BE
accent
#42E669
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9923

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

Preview Lab → · Contrast checker → · Palette generator →

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