#7C8D14#7C8D14

#7C8D14 is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 60.9% C 0.136 H 118.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7C8D14
RGBrgb(124, 141, 20)
HSLhsl(68, 75%, 32%)
HSVhsv(68, 86%, 55%)
CMYKcmyk(12.1%, 0%, 85.8%, 44.7%)
CIE-LABlab(55.47, -21.11, 55.49)
CIE-LCHlch(55.47, 59.37, 110.83°)
OKLaboklab(60.89% -0.064 0.1199)
OKLCHoklch(60.89% 0.136 118.1)
XYZxyz(17.9638, 23.3855, 4.2292)
Luminance0.2339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D14 #25148D
analogous
#8D6214 #7C8D14 #408D14
triadic
#7C8D14 #147C8D #8D147C
tetradic
#7C8D14 #148D62 #25148D #8D1440
square
#7C8D14 #148D62 #25148D #8D1440
split-complementary
#7C8D14 #14408D #62148D
monochromatic
#1E2205 #4D570C #7C8D14 #ABC31C #CBE339

Accessibility & contrast

On white

3.70
#7C8D14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#7C8D14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D14
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D14#FFFFFF#000000##000000
##7C8D141.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#958522
Tritanopia (blue-blind)
#848578
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8d14;
/* rgb */ color: rgb(124, 141, 20);
/* oklch */ color: oklch(60.9% 0.136 118.1);
Tailwind
colors: {
  custom: {
    50: '#a6ae60',
    500: '#7c8d14',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d14;
$custom-light: #a6ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d14",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 20
  },
  "hsl": {
    "h": 68.43,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60891,
    "c": 0.13589,
    "h": 118.1
  },
  "luminance": 0.23385
}

Semantic roles & 50–950 ramp

primary
#7C8D14
secondary
#4F3CC1
accent
#36F250
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7C8D14

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

Preview Lab → · Contrast checker → · Palette generator →

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