#7D7C16#7D7C16

#7D7C16 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 56.9% C 0.116 H 109.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7D7C16
RGBrgb(125, 124, 22)
HSLhsl(59, 70%, 29%)
HSVhsv(59, 82%, 49%)
CMYKcmyk(0%, 0.8%, 82.4%, 51%)
CIE-LABlab(50.49, -11.62, 50.68)
CIE-LCHlch(50.49, 52.00, 102.91°)
OKLaboklab(56.92% -0.0378 0.1098)
OKLCHoklch(56.92% 0.116 109)
XYZxyz(15.8105, 18.8337, 3.5613)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7C16 #16177D
analogous
#7D4916 #7D7C16 #4B7D16
triadic
#7D7C16 #167D7C #7C167D
tetradic
#7D7C16 #167D49 #16177D #7D164B
square
#7D7C16 #167D49 #16177D #7D164B
split-complementary
#7D7C16 #164B7D #49167D
monochromatic
#1A1A05 #49480D #7D7C16 #B1B01F #DBD932

Accessibility & contrast

On white

4.41
#7D7C16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7D7C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7C16
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7C16#FFFFFF#000000##000000
##7D7C161.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#887A1F
Tritanopia (blue-blind)
#87736A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d7c16;
/* rgb */ color: rgb(125, 124, 22);
/* oklch */ color: oklch(56.9% 0.116 109.0);
Tailwind
colors: {
  custom: {
    50: '#a6a15e',
    500: '#7d7c16',
    950: '#000000',
  },
}
SCSS
$custom: #7d7c16;
$custom-light: #a6a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7c16",
  "rgb": {
    "r": 125,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 59.417,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56923,
    "c": 0.11613,
    "h": 109
  },
  "luminance": 0.18833
}

Semantic roles & 50–950 ramp

primary
#7D7C16
secondary
#3D3EB2
accent
#3DED3B
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7C16

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

Preview Lab → · Contrast checker → · Palette generator →

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