#7C8419#7C8419

#7C8419 is a mid, vivid yellow. Relative luminance 0.209; OKLCH L 58.7% C 0.123 H 114.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7C8419
RGBrgb(124, 132, 25)
HSLhsl(64, 68%, 31%)
HSVhsv(64, 81%, 52%)
CMYKcmyk(6.1%, 0%, 81.1%, 48.2%)
CIE-LABlab(52.79, -16.26, 51.77)
CIE-LCHlch(52.79, 54.27, 107.43°)
OKLaboklab(58.75% -0.0503 0.1128)
OKLCHoklch(58.75% 0.124 114.1)
XYZxyz(16.7394, 20.8581, 4.0637)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8419 #211984
analogous
#845619 #7C8419 #468419
triadic
#7C8419 #197C84 #84197C
tetradic
#7C8419 #198456 #211984 #841946
square
#7C8419 #198456 #211984 #841946
split-complementary
#7C8419 #194684 #561984
monochromatic
#1B1D06 #4C510F #7C8419 #ACB723 #CFDA3D

Accessibility & contrast

On white

4.06
#7C8419 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7C8419 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8419
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8419#FFFFFF#000000##000000
##7C84191.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#857C70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c8419;
/* rgb */ color: rgb(124, 132, 25);
/* oklch */ color: oklch(58.7% 0.123 114.1);
Tailwind
colors: {
  custom: {
    50: '#a5a760',
    500: '#7c8419',
    950: '#000000',
  },
}
SCSS
$custom: #7c8419;
$custom-light: #a5a760;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8419",
  "rgb": {
    "r": 124,
    "g": 132,
    "b": 25
  },
  "hsl": {
    "h": 64.486,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58749,
    "c": 0.1235,
    "h": 114.1
  },
  "luminance": 0.20858
}

Semantic roles & 50–950 ramp

primary
#7C8419
secondary
#4A41B8
accent
#3DEB4A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7C8419

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

Preview Lab → · Contrast checker → · Palette generator →

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