#7C8E15#7C8E15

#7C8E15 is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.1% C 0.137 H 118.5°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7C8E15
RGBrgb(124, 142, 21)
HSLhsl(69, 74%, 32%)
HSVhsv(69, 85%, 56%)
CMYKcmyk(12.7%, 0%, 85.2%, 44.3%)
CIE-LABlab(55.77, -21.59, 55.50)
CIE-LCHlch(55.77, 59.55, 111.25°)
OKLaboklab(61.14% -0.0653 0.12)
OKLCHoklch(61.14% 0.137 118.5)
XYZxyz(18.1210, 23.6854, 4.3264)
Luminance0.2369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8E15 #27158E
analogous
#8E6415 #7C8E15 #3F8E15
triadic
#7C8E15 #157C8E #8E157C
tetradic
#7C8E15 #158E64 #27158E #8E153F
square
#7C8E15 #158E64 #27158E #8E153F
split-complementary
#7C8E15 #153F8E #64158E
monochromatic
#1F2305 #4D590D #7C8E15 #ABC31D #C9E23B

Accessibility & contrast

On white

3.66
#7C8E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#7C8E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8E15
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8E15#FFFFFF#000000##000000
##7C8E151.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#848679
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8e15;
/* rgb */ color: rgb(124, 142, 21);
/* oklch */ color: oklch(61.1% 0.137 118.5);
Tailwind
colors: {
  custom: {
    50: '#a6af60',
    500: '#7c8e15',
    950: '#000000',
  },
}
SCSS
$custom: #7c8e15;
$custom-light: #a6af60;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8e15",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 68.926,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61137,
    "c": 0.13664,
    "h": 118.5
  },
  "luminance": 0.23685
}

Semantic roles & 50–950 ramp

primary
#7C8E15
secondary
#513DC2
accent
#37F153
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7C8E15

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

Preview Lab → · Contrast checker → · Palette generator →

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