#7C9934#7C9934

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

Color values

HEX#7C9934
RGBrgb(124, 153, 52)
HSLhsl(77, 49%, 40%)
HSVhsv(77, 66%, 60%)
CMYKcmyk(19%, 0%, 66%, 40%)
CIE-LABlab(59.27, -25.43, 47.97)
CIE-LCHlch(59.27, 54.29, 117.93°)
OKLaboklab(64.01% -0.0732 0.1093)
OKLCHoklch(64.01% 0.132 123.8)
XYZxyz(20.3234, 27.3153, 7.4498)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9934 #513499
analogous
#998434 #7C9934 #499934
triadic
#7C9934 #347C99 #99347C
tetradic
#7C9934 #349984 #513499 #993449
square
#7C9934 #349984 #513499 #993449
split-complementary
#7C9934 #344999 #843499
monochromatic
#323E15 #576B24 #7C9934 #9FC149 #B7D177

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C9934#FFFFFF#000000##000000
##7C99341.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)
#A29027
Deuteranopia (green-blind)
#9E8E3C
Tritanopia (blue-blind)
#829284
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7c9934;
/* rgb */ color: rgb(124, 153, 52);
/* oklch */ color: oklch(64.0% 0.132 123.8);
Tailwind
colors: {
  custom: {
    50: '#a5b771',
    500: '#7c9934',
    950: '#000000',
  },
}
SCSS
$custom: #7c9934;
$custom-light: #a5b771;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9934",
  "rgb": {
    "r": 124,
    "g": 153,
    "b": 52
  },
  "hsl": {
    "h": 77.228,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64014,
    "c": 0.13157,
    "h": 123.8
  },
  "luminance": 0.27315
}

Semantic roles & 50–950 ramp

primary
#7C9934
secondary
#8570B9
accent
#4FD977
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #7C9934

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

Preview Lab → · Contrast checker → · Palette generator →

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