#7C7D16#7C7D16

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

Color values

HEX#7C7D16
RGBrgb(124, 125, 22)
HSLhsl(61, 70%, 29%)
HSVhsv(61, 82%, 49%)
CMYKcmyk(0.8%, 0%, 82.4%, 51%)
CIE-LABlab(50.70, -12.63, 50.83)
CIE-LCHlch(50.70, 52.37, 103.95°)
OKLaboklab(57.07% -0.0405 0.1102)
OKLCHoklch(57.07% 0.117 110.2)
XYZxyz(15.7912, 19.0107, 3.5965)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7D16 #17167D
analogous
#7D4B16 #7C7D16 #497D16
triadic
#7C7D16 #167C7D #7D167C
tetradic
#7C7D16 #167D4B #17167D #7D1649
square
#7C7D16 #167D4B #17167D #7D1649
split-complementary
#7C7D16 #16497D #4B167D
monochromatic
#1A1A05 #48490D #7C7D16 #B0B11F #D9DB32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C7D16#FFFFFF#000000##000000
##7C7D161.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)
#897A20
Tritanopia (blue-blind)
#85756A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7c7d16;
/* rgb */ color: rgb(124, 125, 22);
/* oklch */ color: oklch(57.1% 0.117 110.2);
Tailwind
colors: {
  custom: {
    50: '#a5a25e',
    500: '#7c7d16',
    950: '#000000',
  },
}
SCSS
$custom: #7c7d16;
$custom-light: #a5a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7d16",
  "rgb": {
    "r": 124,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 60.583,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.57067,
    "c": 0.1174,
    "h": 110.2
  },
  "luminance": 0.1901
}

Semantic roles & 50–950 ramp

primary
#7C7D16
secondary
#3E3DB2
accent
#3BED3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7C7D16

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

Preview Lab → · Contrast checker → · Palette generator →

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