#7C7A16#7C7A16

#7C7A16 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.4% C 0.114 H 108.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7C7A16
RGBrgb(124, 122, 22)
HSLhsl(59, 70%, 29%)
HSVhsv(59, 82%, 49%)
CMYKcmyk(0%, 1.6%, 82.3%, 51.4%)
CIE-LABlab(49.81, -10.99, 50.05)
CIE-LCHlch(49.81, 51.24, 102.39°)
OKLaboklab(56.36% -0.036 0.1085)
OKLCHoklch(56.36% 0.114 108.3)
XYZxyz(15.4172, 18.2626, 3.4718)
Luminance0.1826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7A16 #16187C
analogous
#7C4716 #7C7A16 #4B7C16
triadic
#7C7A16 #167C7A #7A167C
tetradic
#7C7A16 #167C47 #16187C #7C164B
square
#7C7A16 #167C47 #16187C #7C164B
split-complementary
#7C7A16 #164B7C #47167C
monochromatic
#1A1A05 #48470D #7C7A16 #B0AD1F #DBD732

Accessibility & contrast

On white

4.51
#7C7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7C7A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7A16
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7A16#FFFFFF#000000##000000
##7C7A161.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#86781F
Tritanopia (blue-blind)
#867168
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c7a16;
/* rgb */ color: rgb(124, 122, 22);
/* oklch */ color: oklch(56.4% 0.114 108.3);
Tailwind
colors: {
  custom: {
    50: '#a5a05e',
    500: '#7c7a16',
    950: '#000000',
  },
}
SCSS
$custom: #7c7a16;
$custom-light: #a5a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7a16",
  "rgb": {
    "r": 124,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 58.824,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56359,
    "c": 0.11431,
    "h": 108.3
  },
  "luminance": 0.18262
}

Semantic roles & 50–950 ramp

primary
#7C7A16
secondary
#3D3FB1
accent
#3FED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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