#7C8719#7C8719

#7C8719 is a mid, vivid yellow. Relative luminance 0.217; OKLCH L 59.5% C 0.127 H 115.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7C8719
RGBrgb(124, 135, 25)
HSLhsl(66, 69%, 31%)
HSVhsv(66, 81%, 53%)
CMYKcmyk(8.1%, 0%, 81.5%, 47.1%)
CIE-LABlab(53.69, -17.84, 52.57)
CIE-LCHlch(53.69, 55.51, 108.74°)
OKLaboklab(59.47% -0.0547 0.1145)
OKLCHoklch(59.47% 0.127 115.5)
XYZxyz(17.1521, 21.6835, 4.2013)
Luminance0.2168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8719 #241987
analogous
#875B19 #7C8719 #458719
triadic
#7C8719 #197C87 #87197C
tetradic
#7C8719 #19875B #241987 #871945
square
#7C8719 #19875B #241987 #871945
split-complementary
#7C8719 #194587 #5B1987
monochromatic
#1D2006 #4D530F #7C8719 #ABBB23 #CCDB3F

Accessibility & contrast

On white

3.94
#7C8719 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#7C8719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8719
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8719#FFFFFF#000000##000000
##7C87191.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#857F73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7c8719;
/* rgb */ color: rgb(124, 135, 25);
/* oklch */ color: oklch(59.5% 0.127 115.5);
Tailwind
colors: {
  custom: {
    50: '#a5a961',
    500: '#7c8719',
    950: '#000000',
  },
}
SCSS
$custom: #7c8719;
$custom-light: #a5a961;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8719",
  "rgb": {
    "r": 124,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 66,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.59468,
    "c": 0.12687,
    "h": 115.5
  },
  "luminance": 0.21683
}

Semantic roles & 50–950 ramp

primary
#7C8719
secondary
#4D41BA
accent
#3CEC4E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7C8719

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

Preview Lab → · Contrast checker → · Palette generator →

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