#7D7916#7D7916

#7D7916 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.113 H 107.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7D7916
RGBrgb(125, 121, 22)
HSLhsl(58, 70%, 29%)
HSVhsv(58, 82%, 49%)
CMYKcmyk(0%, 3.2%, 82.4%, 51%)
CIE-LABlab(49.61, -9.98, 49.91)
CIE-LCHlch(49.61, 50.89, 101.31°)
OKLaboklab(56.22% -0.0332 0.1081)
OKLCHoklch(56.22% 0.113 107.1)
XYZxyz(15.4403, 18.0932, 3.4379)
Luminance0.1809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7916 #161A7D
analogous
#7D4616 #7D7916 #4E7D16
triadic
#7D7916 #167D79 #79167D
tetradic
#7D7916 #167D46 #161A7D #7D164E
square
#7D7916 #167D46 #161A7D #7D164E
split-complementary
#7D7916 #164E7D #46167D
monochromatic
#1A1905 #49470D #7D7916 #B1AB1F #DBD432

Accessibility & contrast

On white

4.55
#7D7916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7D7916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7916
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7916#FFFFFF#000000##000000
##7D79161.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d7916;
/* rgb */ color: rgb(125, 121, 22);
/* oklch */ color: oklch(56.2% 0.113 107.1);
Tailwind
colors: {
  custom: {
    50: '#a69f5e',
    500: '#7d7916',
    950: '#000000',
  },
}
SCSS
$custom: #7d7916;
$custom-light: #a69f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7916",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 57.67,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56218,
    "c": 0.11312,
    "h": 107.1
  },
  "luminance": 0.18093
}

Semantic roles & 50–950 ramp

primary
#7D7916
secondary
#3D41B2
accent
#42ED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7916

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

Preview Lab → · Contrast checker → · Palette generator →

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