#7C8C15#7C8C15

#7C8C15 is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 60.7% C 0.134 H 117.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7C8C15
RGBrgb(124, 140, 21)
HSLhsl(68, 74%, 32%)
HSVhsv(68, 85%, 55%)
CMYKcmyk(11.4%, 0%, 85%, 45.1%)
CIE-LABlab(55.17, -20.57, 54.98)
CIE-LCHlch(55.17, 58.70, 110.51°)
OKLaboklab(60.65% -0.0625 0.1189)
OKLCHoklch(60.65% 0.134 117.7)
XYZxyz(17.8261, 23.0956, 4.2281)
Luminance0.2309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8C15 #25158C
analogous
#8C6115 #7C8C15 #418C15
triadic
#7C8C15 #157C8C #8C157C
tetradic
#7C8C15 #158C61 #25158C #8C1541
square
#7C8C15 #158C61 #25158C #8C1541
split-complementary
#7C8C15 #15418C #61158C
monochromatic
#1E2205 #4D570D #7C8C15 #ABC11D #CBE13A

Accessibility & contrast

On white

3.74
#7C8C15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#7C8C15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8C15
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8C15#FFFFFF#000000##000000
##7C8C151.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#948522
Tritanopia (blue-blind)
#848477
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8c15;
/* rgb */ color: rgb(124, 140, 21);
/* oklch */ color: oklch(60.7% 0.134 117.7);
Tailwind
colors: {
  custom: {
    50: '#a5ad60',
    500: '#7c8c15',
    950: '#000000',
  },
}
SCSS
$custom: #7c8c15;
$custom-light: #a5ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8c15",
  "rgb": {
    "r": 124,
    "g": 140,
    "b": 21
  },
  "hsl": {
    "h": 68.067,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60653,
    "c": 0.13434,
    "h": 117.7
  },
  "luminance": 0.23095
}

Semantic roles & 50–950 ramp

primary
#7C8C15
secondary
#4F3DC0
accent
#37F150
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7C8C15

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

Preview Lab → · Contrast checker → · Palette generator →

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