#7C8F14#7C8F14

#7C8F14 is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.4% C 0.138 H 118.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7C8F14
RGBrgb(124, 143, 20)
HSLhsl(69, 75%, 32%)
HSVhsv(69, 86%, 56%)
CMYKcmyk(13.3%, 0%, 86%, 43.9%)
CIE-LABlab(56.07, -22.13, 56.00)
CIE-LCHlch(56.07, 60.21, 111.56°)
OKLaboklab(61.38% -0.0668 0.121)
OKLCHoklch(61.38% 0.138 118.9)
XYZxyz(18.2613, 23.9807, 4.3284)
Luminance0.2398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8F14 #27148F
analogous
#8F6514 #7C8F14 #3F8F14
triadic
#7C8F14 #147C8F #8F147C
tetradic
#7C8F14 #148F65 #27148F #8F143F
square
#7C8F14 #148F65 #27148F #8F143F
split-complementary
#7C8F14 #143F8F #65148F
monochromatic
#1F2405 #4D590C #7C8F14 #ABC51C #C9E33A

Accessibility & contrast

On white

3.62
#7C8F14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#7C8F14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8F14
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8F14#FFFFFF#000000##000000
##7C8F141.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#978722
Tritanopia (blue-blind)
#84877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8f14;
/* rgb */ color: rgb(124, 143, 20);
/* oklch */ color: oklch(61.4% 0.138 118.9);
Tailwind
colors: {
  custom: {
    50: '#a6af60',
    500: '#7c8f14',
    950: '#000000',
  },
}
SCSS
$custom: #7c8f14;
$custom-light: #a6af60;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8f14",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 20
  },
  "hsl": {
    "h": 69.268,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61375,
    "c": 0.13818,
    "h": 118.9
  },
  "luminance": 0.23981
}

Semantic roles & 50–950 ramp

primary
#7C8F14
secondary
#513CC3
accent
#36F253
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7C8F14

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

Preview Lab → · Contrast checker → · Palette generator →

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