#7D9423#7D9423

#7D9423 is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.7% C 0.136 H 120.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7D9423
RGBrgb(125, 148, 35)
HSLhsl(72, 62%, 36%)
HSVhsv(72, 76%, 58%)
CMYKcmyk(15.5%, 0%, 76.4%, 42%)
CIE-LABlab(57.71, -23.59, 53.06)
CIE-LCHlch(57.71, 58.06, 113.97°)
OKLaboklab(62.74% -0.0698 0.1173)
OKLCHoklch(62.74% 0.136 120.8)
XYZxyz(19.3511, 25.6612, 5.5234)
Luminance0.2566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9423 #3A2394
analogous
#947223 #7D9423 #449423
triadic
#7D9423 #237D94 #94237D
tetradic
#7D9423 #239472 #3A2394 #942344
square
#7D9423 #239472 #3A2394 #942344
split-complementary
#7D9423 #234494 #722394
monochromatic
#29310C #536317 #7D9423 #A7C52F #BED85A

Accessibility & contrast

On white

3.42
#7D9423 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#7D9423 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9423
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9423#FFFFFF#000000##000000
##7D94231.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B09
Deuteranopia (green-blind)
#9B8B2D
Tritanopia (blue-blind)
#848C7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7d9423;
/* rgb */ color: rgb(125, 148, 35);
/* oklch */ color: oklch(62.7% 0.136 120.8);
Tailwind
colors: {
  custom: {
    50: '#a6b367',
    500: '#7d9423',
    950: '#000000',
  },
}
SCSS
$custom: #7d9423;
$custom-light: #a6b367;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9423",
  "rgb": {
    "r": 125,
    "g": 148,
    "b": 35
  },
  "hsl": {
    "h": 72.212,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62742,
    "c": 0.13646,
    "h": 120.8
  },
  "luminance": 0.25661
}

Semantic roles & 50–950 ramp

primary
#7D9423
secondary
#6B57BC
accent
#43E564
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9423

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

Preview Lab → · Contrast checker → · Palette generator →

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