#7C8B14#7C8B14

#7C8B14 is a mid, vivid yellow. Relative luminance 0.228; OKLCH L 60.4% C 0.134 H 117.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7C8B14
RGBrgb(124, 139, 20)
HSLhsl(68, 75%, 31%)
HSVhsv(68, 86%, 55%)
CMYKcmyk(10.8%, 0%, 85.6%, 45.5%)
CIE-LABlab(54.87, -20.09, 54.98)
CIE-LCHlch(54.87, 58.53, 110.07°)
OKLaboklab(60.41% -0.0612 0.1188)
OKLCHoklch(60.41% 0.134 117.3)
XYZxyz(17.6715, 22.8010, 4.1318)
Luminance0.2280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8B14 #23148B
analogous
#8B5E14 #7C8B14 #408B14
triadic
#7C8B14 #147C8B #8B147C
tetradic
#7C8B14 #148B5E #23148B #8B1440
square
#7C8B14 #148B5E #23148B #8B1440
split-complementary
#7C8B14 #14408B #5E148B
monochromatic
#1D2005 #4C550C #7C8B14 #ACC11C #CDE237

Accessibility & contrast

On white

3.78
#7C8B14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#7C8B14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8B14
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8B14#FFFFFF#000000##000000
##7C8B141.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#948421
Tritanopia (blue-blind)
#848376
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7c8b14;
/* rgb */ color: rgb(124, 139, 20);
/* oklch */ color: oklch(60.4% 0.134 117.3);
Tailwind
colors: {
  custom: {
    50: '#a6ac60',
    500: '#7c8b14',
    950: '#000000',
  },
}
SCSS
$custom: #7c8b14;
$custom-light: #a6ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8b14",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 20
  },
  "hsl": {
    "h": 67.563,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60407,
    "c": 0.13361,
    "h": 117.3
  },
  "luminance": 0.22801
}

Semantic roles & 50–950 ramp

primary
#7C8B14
secondary
#4C3CBF
accent
#36F14E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7C8B14

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

Preview Lab → · Contrast checker → · Palette generator →

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