#7C9933#7C9933

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

Color values

HEX#7C9933
RGBrgb(124, 153, 51)
HSLhsl(77, 50%, 40%)
HSVhsv(77, 67%, 60%)
CMYKcmyk(19%, 0%, 66.7%, 40%)
CIE-LABlab(59.26, -25.50, 48.38)
CIE-LCHlch(59.26, 54.69, 117.79°)
OKLaboklab(64% -0.0735 0.1101)
OKLCHoklch(64% 0.132 123.7)
XYZxyz(20.3011, 27.3064, 7.3325)
Luminance0.2731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9933 #503399
analogous
#998333 #7C9933 #499933
triadic
#7C9933 #337C99 #99337C
tetradic
#7C9933 #339983 #503399 #993349
square
#7C9933 #339983 #503399 #993349
split-complementary
#7C9933 #334999 #833399
monochromatic
#323D14 #576B24 #7C9933 #9FC247 #B7D175

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C9933#FFFFFF#000000##000000
##7C99331.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)
#A29025
Deuteranopia (green-blind)
#9E8E3B
Tritanopia (blue-blind)
#829284
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7c9933;
/* rgb */ color: rgb(124, 153, 51);
/* oklch */ color: oklch(64.0% 0.132 123.7);
Tailwind
colors: {
  custom: {
    50: '#a5b770',
    500: '#7c9933',
    950: '#000000',
  },
}
SCSS
$custom: #7c9933;
$custom-light: #a5b770;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9933",
  "rgb": {
    "r": 124,
    "g": 153,
    "b": 51
  },
  "hsl": {
    "h": 77.059,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.64004,
    "c": 0.13235,
    "h": 123.7
  },
  "luminance": 0.27307
}

Semantic roles & 50–950 ramp

primary
#7C9933
secondary
#846EB9
accent
#4EDA76
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101108
muted
#7F807B

Preview Lab

Preview with #7C9933

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

Preview Lab → · Contrast checker → · Palette generator →

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