#7D9927#7D9927

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

Color values

HEX#7D9927
RGBrgb(125, 153, 39)
HSLhsl(75, 59%, 38%)
HSVhsv(75, 75%, 60%)
CMYKcmyk(18.3%, 0%, 74.5%, 40%)
CIE-LABlab(59.24, -25.86, 53.11)
CIE-LCHlch(59.24, 59.07, 115.96°)
OKLaboklab(63.98% -0.0756 0.1181)
OKLCHoklch(63.98% 0.14 122.6)
XYZxyz(20.2152, 27.2888, 6.1214)
Luminance0.2729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9927 #432799
analogous
#997C27 #7D9927 #449927
triadic
#7D9927 #277D99 #99277D
tetradic
#7D9927 #27997C #432799 #992744
square
#7D9927 #27997C #432799 #992744
split-complementary
#7D9927 #274499 #7C2799
monochromatic
#2D370E #55681B #7D9927 #A5CA33 #BBD763

Accessibility & contrast

On white

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

On black

6.46
#7D9927 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9927
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9927#FFFFFF#000000##000000
##7D99271.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d9927;
/* rgb */ color: rgb(125, 153, 39);
/* oklch */ color: oklch(64.0% 0.140 122.6);
Tailwind
colors: {
  custom: {
    50: '#a6b76a',
    500: '#7d9927',
    950: '#000000',
  },
}
SCSS
$custom: #7d9927;
$custom-light: #a6b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9927",
  "rgb": {
    "r": 125,
    "g": 153,
    "b": 39
  },
  "hsl": {
    "h": 74.737,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63982,
    "c": 0.14023,
    "h": 122.6
  },
  "luminance": 0.27289
}

Semantic roles & 50–950 ramp

primary
#7D9927
secondary
#765FBD
accent
#45E36C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9927

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

Preview Lab → · Contrast checker → · Palette generator →

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