#7C7D19#7C7D19

#7C7D19 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.116 H 110.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7C7D19
RGBrgb(124, 125, 25)
HSLhsl(61, 67%, 29%)
HSVhsv(61, 80%, 49%)
CMYKcmyk(0.8%, 0%, 80%, 51%)
CIE-LABlab(50.71, -12.51, 49.91)
CIE-LCHlch(50.71, 51.45, 104.07°)
OKLaboklab(57.08% -0.0399 0.1088)
OKLCHoklch(57.08% 0.116 110.2)
XYZxyz(15.8218, 19.0230, 3.7579)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7D19 #1A197D
analogous
#7D4C19 #7C7D19 #4A7D19
triadic
#7C7D19 #197C7D #7D197C
tetradic
#7C7D19 #197D4C #1A197D #7D194A
square
#7C7D19 #197D4C #1A197D #7D194A
split-complementary
#7C7D19 #194A7D #4C197D
monochromatic
#191A05 #494A0F #7C7D19 #AFB023 #D6D739

Accessibility & contrast

On white

4.37
#7C7D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#7C7D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7D19
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7D19#FFFFFF#000000##000000
##7C7D191.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#897A22
Tritanopia (blue-blind)
#85756B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7c7d19;
/* rgb */ color: rgb(124, 125, 25);
/* oklch */ color: oklch(57.1% 0.116 110.2);
Tailwind
colors: {
  custom: {
    50: '#a5a25f',
    500: '#7c7d19',
    950: '#000000',
  },
}
SCSS
$custom: #7c7d19;
$custom-light: #a5a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7d19",
  "rgb": {
    "r": 124,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 60.6,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.57083,
    "c": 0.11589,
    "h": 110.2
  },
  "luminance": 0.19023
}

Semantic roles & 50–950 ramp

primary
#7C7D19
secondary
#4240B1
accent
#3EEA40
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7C7D19

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

Preview Lab → · Contrast checker → · Palette generator →

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