#7D8310#7D8310

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

Color values

HEX#7D8310
RGBrgb(125, 131, 16)
HSLhsl(63, 78%, 29%)
HSVhsv(63, 88%, 51%)
CMYKcmyk(4.6%, 0%, 87.8%, 48.6%)
CIE-LABlab(52.54, -15.58, 54.02)
CIE-LCHlch(52.54, 56.22, 106.08°)
OKLaboklab(58.56% -0.0491 0.1159)
OKLCHoklch(58.56% 0.126 113)
XYZxyz(16.6679, 20.6304, 3.5942)
Luminance0.2063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8310 #161083
analogous
#835010 #7D8310 #448310
triadic
#7D8310 #107D83 #83107D
tetradic
#7D8310 #108350 #161083 #831044
square
#7D8310 #108350 #161083 #831044
split-complementary
#7D8310 #104483 #501083
monochromatic
#1A1B03 #494C09 #7D8310 #B1BA17 #DBE529

Accessibility & contrast

On white

4.10
#7D8310 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D8310#FFFFFF#000000##000000
##7D83101.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d8310;
/* rgb */ color: rgb(125, 131, 16);
/* oklch */ color: oklch(58.6% 0.126 113.0);
Tailwind
colors: {
  custom: {
    50: '#a6a65d',
    500: '#7d8310',
    950: '#000000',
  },
}
SCSS
$custom: #7d8310;
$custom-light: #a6a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8310",
  "rgb": {
    "r": 125,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 63.13,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.58556,
    "c": 0.12593,
    "h": 113
  },
  "luminance": 0.2063
}

Semantic roles & 50–950 ramp

primary
#7D8310
secondary
#3D36B9
accent
#33F53D
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7D8310

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

Preview Lab → · Contrast checker → · Palette generator →

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