#7D8316#7D8316

#7D8316 is a mid, vivid yellow. Relative luminance 0.207; OKLCH L 58.6% C 0.124 H 113.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7D8316
RGBrgb(125, 131, 22)
HSLhsl(63, 71%, 30%)
HSVhsv(63, 83%, 51%)
CMYKcmyk(4.6%, 0%, 83.2%, 48.6%)
CIE-LABlab(52.57, -15.39, 52.49)
CIE-LCHlch(52.57, 54.70, 106.34°)
OKLaboklab(58.58% -0.0482 0.1137)
OKLCHoklch(58.58% 0.124 113)
XYZxyz(16.7191, 20.6509, 3.8642)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8316 #1C1683
analogous
#835316 #7D8316 #468316
triadic
#7D8316 #167D83 #83167D
tetradic
#7D8316 #168353 #1C1683 #831646
square
#7D8316 #168353 #1C1683 #831646
split-complementary
#7D8316 #164683 #531683
monochromatic
#191A04 #4B4F0D #7D8316 #AFB71F #D4DD36

Accessibility & contrast

On white

4.09
#7D8316 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#7D8316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8316
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8316#FFFFFF#000000##000000
##7D83161.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7C00
Deuteranopia (green-blind)
#8E7F21
Tritanopia (blue-blind)
#867B6F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7d8316;
/* rgb */ color: rgb(125, 131, 22);
/* oklch */ color: oklch(58.6% 0.124 113.0);
Tailwind
colors: {
  custom: {
    50: '#a6a65f',
    500: '#7d8316',
    950: '#000000',
  },
}
SCSS
$custom: #7d8316;
$custom-light: #a6a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8316",
  "rgb": {
    "r": 125,
    "g": 131,
    "b": 22
  },
  "hsl": {
    "h": 63.303,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.58582,
    "c": 0.12351,
    "h": 113
  },
  "luminance": 0.20651
}

Semantic roles & 50–950 ramp

primary
#7D8316
secondary
#443DB7
accent
#3AEE44
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7D8316

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

Preview Lab → · Contrast checker → · Palette generator →

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