#7D7D16#7D7D16

#7D7D16 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.117 H 109.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7D7D16
RGBrgb(125, 125, 22)
HSLhsl(60, 70%, 29%)
HSVhsv(60, 82%, 49%)
CMYKcmyk(0%, 0%, 82.4%, 51%)
CIE-LABlab(50.79, -12.16, 50.94)
CIE-LCHlch(50.79, 52.37, 103.43°)
OKLaboklab(57.16% -0.0393 0.1104)
OKLCHoklch(57.16% 0.117 109.6)
XYZxyz(15.9365, 19.0856, 3.6033)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7D16 #16167D
analogous
#7D4A16 #7D7D16 #4A7D16
triadic
#7D7D16 #167D7D #7D167D
tetradic
#7D7D16 #167D4A #16167D #7D164A
square
#7D7D16 #167D4A #16167D #7D164A
split-complementary
#7D7D16 #164A7D #4A167D
monochromatic
#1A1A05 #49490D #7D7D16 #B1B11F #DBDB32

Accessibility & contrast

On white

4.36
#7D7D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7D7D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7D16
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7D16#FFFFFF#000000##000000
##7D7D161.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#897A20
Tritanopia (blue-blind)
#86746A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d7d16;
/* rgb */ color: rgb(125, 125, 22);
/* oklch */ color: oklch(57.2% 0.117 109.6);
Tailwind
colors: {
  custom: {
    50: '#a6a25e',
    500: '#7d7d16',
    950: '#000000',
  },
}
SCSS
$custom: #7d7d16;
$custom-light: #a6a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7d16",
  "rgb": {
    "r": 125,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 60,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.57159,
    "c": 0.11715,
    "h": 109.6
  },
  "luminance": 0.19085
}

Semantic roles & 50–950 ramp

primary
#7D7D16
secondary
#3D3DB2
accent
#3BED3B
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7D7D16

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

Preview Lab → · Contrast checker → · Palette generator →

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