#7C8C13#7C8C13

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

Color values

HEX#7C8C13
RGBrgb(124, 140, 19)
HSLhsl(68, 76%, 31%)
HSVhsv(68, 86%, 55%)
CMYKcmyk(11.4%, 0%, 86.4%, 45.1%)
CIE-LABlab(55.16, -20.63, 55.47)
CIE-LCHlch(55.16, 59.18, 110.40°)
OKLaboklab(60.65% -0.0628 0.1197)
OKLCHoklch(60.65% 0.135 117.7)
XYZxyz(17.8083, 23.0885, 4.1344)
Luminance0.2309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8C13 #23138C
analogous
#8C5F13 #7C8C13 #3F8C13
triadic
#7C8C13 #137C8C #8C137C
tetradic
#7C8C13 #138C5F #23138C #8C133F
square
#7C8C13 #138C5F #23138C #8C133F
split-complementary
#7C8C13 #133F8C #5F138C
monochromatic
#1D2004 #4C560C #7C8C13 #ACC21A #CDE436

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8C13#FFFFFF#000000##000000
##7C8C131.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)
#948521
Tritanopia (blue-blind)
#848477
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8c13;
/* rgb */ color: rgb(124, 140, 19);
/* oklch */ color: oklch(60.6% 0.135 117.7);
Tailwind
colors: {
  custom: {
    50: '#a6ad5f',
    500: '#7c8c13',
    950: '#000000',
  },
}
SCSS
$custom: #7c8c13;
$custom-light: #a6ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8c13",
  "rgb": {
    "r": 124,
    "g": 140,
    "b": 19
  },
  "hsl": {
    "h": 67.934,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60645,
    "c": 0.13512,
    "h": 117.7
  },
  "luminance": 0.23088
}

Semantic roles & 50–950 ramp

primary
#7C8C13
secondary
#4C3BC0
accent
#35F34E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7C8C13

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

Preview Lab → · Contrast checker → · Palette generator →

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