#7C9318#7C9318

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

Color values

HEX#7C9318
RGBrgb(124, 147, 24)
HSLhsl(71, 72%, 34%)
HSVhsv(71, 84%, 58%)
CMYKcmyk(15.6%, 0%, 83.7%, 42.4%)
CIE-LABlab(57.29, -24.00, 56.02)
CIE-LCHlch(57.29, 60.95, 113.19°)
OKLaboklab(62.36% -0.0717 0.1217)
OKLCHoklch(62.36% 0.141 120.5)
XYZxyz(18.9112, 25.2185, 4.7354)
Luminance0.2522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9318 #2F1893
analogous
#936C18 #7C9318 #3E9318
triadic
#7C9318 #187C93 #93187C
tetradic
#7C9318 #18936C #2F1893 #93183E
square
#7C9318 #18936C #2F1893 #93183E
split-complementary
#7C9318 #183E93 #6C1893
monochromatic
#232A07 #505E0F #7C9318 #A8C821 #C3E145

Accessibility & contrast

On white

3.47
#7C9318 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C9318#FFFFFF#000000##000000
##7C93181.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#9A8A26
Tritanopia (blue-blind)
#848B7D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c9318;
/* rgb */ color: rgb(124, 147, 24);
/* oklch */ color: oklch(62.4% 0.141 120.5);
Tailwind
colors: {
  custom: {
    50: '#a6b262',
    500: '#7c9318',
    950: '#000000',
  },
}
SCSS
$custom: #7c9318;
$custom-light: #a6b262;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9318",
  "rgb": {
    "r": 124,
    "g": 147,
    "b": 24
  },
  "hsl": {
    "h": 71.22,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.62363,
    "c": 0.14122,
    "h": 120.5
  },
  "luminance": 0.25218
}

Semantic roles & 50–950 ramp

primary
#7C9318
secondary
#5C45C2
accent
#39EF5B
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9318

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

Preview Lab → · Contrast checker → · Palette generator →

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