#7C9316#7C9316

#7C9316 is a light, vivid yellow-green. Relative luminance 0.252; OKLCH L 62.4% C 0.142 H 120.5°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7C9316
RGBrgb(124, 147, 22)
HSLhsl(71, 74%, 33%)
HSVhsv(71, 85%, 58%)
CMYKcmyk(15.6%, 0%, 85%, 42.4%)
CIE-LABlab(57.28, -24.07, 56.54)
CIE-LCHlch(57.28, 61.45, 113.06°)
OKLaboklab(62.35% -0.072 0.1225)
OKLCHoklch(62.35% 0.142 120.5)
XYZxyz(18.8911, 25.2105, 4.6298)
Luminance0.2521 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9316 #2D1693
analogous
#936B16 #7C9316 #3D9316
triadic
#7C9316 #167C93 #93167C
tetradic
#7C9316 #16936B #2D1693 #93163D
square
#7C9316 #16936B #2D1693 #93163D
split-complementary
#7C9316 #163D93 #6B1693
monochromatic
#222906 #4F5E0E #7C9316 #A9C81E #C5E341

Accessibility & contrast

On white

3.48
#7C9316 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#7C9316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9316
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9316#FFFFFF#000000##000000
##7C93161.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#9A8A24
Tritanopia (blue-blind)
#848B7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7c9316;
/* rgb */ color: rgb(124, 147, 22);
/* oklch */ color: oklch(62.4% 0.142 120.5);
Tailwind
colors: {
  custom: {
    50: '#a6b262',
    500: '#7c9316',
    950: '#000000',
  },
}
SCSS
$custom: #7c9316;
$custom-light: #a6b262;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9316",
  "rgb": {
    "r": 124,
    "g": 147,
    "b": 22
  },
  "hsl": {
    "h": 71.04,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.62354,
    "c": 0.14204,
    "h": 120.5
  },
  "luminance": 0.2521
}

Semantic roles & 50–950 ramp

primary
#7C9316
secondary
#5A42C3
accent
#37F159
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9316

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

Preview Lab → · Contrast checker → · Palette generator →

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