#7C7E16#7C7E16

#7C7E16 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.3% C 0.118 H 110.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7C7E16
RGBrgb(124, 126, 22)
HSLhsl(61, 70%, 29%)
HSVhsv(61, 83%, 49%)
CMYKcmyk(1.6%, 0%, 82.5%, 50.6%)
CIE-LABlab(51.00, -13.17, 51.09)
CIE-LCHlch(51.00, 52.76, 104.45°)
OKLaboklab(57.3% -0.042 0.1107)
OKLCHoklch(57.3% 0.118 110.8)
XYZxyz(15.9184, 19.2652, 3.6389)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7E16 #18167E
analogous
#7E4C16 #7C7E16 #487E16
triadic
#7C7E16 #167C7E #7E167C
tetradic
#7C7E16 #167E4C #18167E #7E1648
square
#7C7E16 #167E4C #18167E #7E1648
split-complementary
#7C7E16 #16487E #4C167E
monochromatic
#1A1A05 #494A0D #7C7E16 #AFB21F #D8DB33

Accessibility & contrast

On white

4.33
#7C7E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7C7E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7E16
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7E16#FFFFFF#000000##000000
##7C7E161.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#897B20
Tritanopia (blue-blind)
#85766B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7c7e16;
/* rgb */ color: rgb(124, 126, 22);
/* oklch */ color: oklch(57.3% 0.118 110.8);
Tailwind
colors: {
  custom: {
    50: '#a5a35e',
    500: '#7c7e16',
    950: '#000000',
  },
}
SCSS
$custom: #7c7e16;
$custom-light: #a5a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7e16",
  "rgb": {
    "r": 124,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 61.154,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.57304,
    "c": 0.11844,
    "h": 110.8
  },
  "luminance": 0.19265
}

Semantic roles & 50–950 ramp

primary
#7C7E16
secondary
#3F3DB3
accent
#3BED3E
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7C7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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