#7C9726#7C9726

#7C9726 is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 63.4% C 0.139 H 122.4°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7C9726
RGBrgb(124, 151, 38)
HSLhsl(74, 60%, 37%)
HSVhsv(74, 75%, 59%)
CMYKcmyk(17.9%, 0%, 74.8%, 40.8%)
CIE-LABlab(58.56, -25.35, 52.79)
CIE-LCHlch(58.56, 58.56, 115.65°)
OKLaboklab(63.42% -0.0743 0.1173)
OKLCHoklch(63.42% 0.139 122.4)
XYZxyz(19.7289, 26.5582, 5.9202)
Luminance0.2656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9726 #412697
analogous
#977926 #7C9726 #449726
triadic
#7C9726 #267C97 #97267C
tetradic
#7C9726 #269779 #412697 #972644
square
#7C9726 #269779 #412697 #972644
split-complementary
#7C9726 #264497 #792697
monochromatic
#2C350D #54661A #7C9726 #A4C832 #BBD760

Accessibility & contrast

On white

3.33
#7C9726 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#7C9726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9726
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9726#FFFFFF#000000##000000
##7C97261.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D0F
Deuteranopia (green-blind)
#9D8D30
Tritanopia (blue-blind)
#838F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7c9726;
/* rgb */ color: rgb(124, 151, 38);
/* oklch */ color: oklch(63.4% 0.139 122.4);
Tailwind
colors: {
  custom: {
    50: '#a5b569',
    500: '#7c9726',
    950: '#000000',
  },
}
SCSS
$custom: #7c9726;
$custom-light: #a5b569;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9726",
  "rgb": {
    "r": 124,
    "g": 151,
    "b": 38
  },
  "hsl": {
    "h": 74.336,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63415,
    "c": 0.1388,
    "h": 122.4
  },
  "luminance": 0.26558
}

Semantic roles & 50–950 ramp

primary
#7C9726
secondary
#735CBC
accent
#45E36B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7C9726

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

Preview Lab → · Contrast checker → · Palette generator →

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