#7D8319#7D8319

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

Color values

HEX#7D8319
RGBrgb(125, 131, 25)
HSLhsl(63, 68%, 31%)
HSVhsv(63, 81%, 51%)
CMYKcmyk(4.6%, 0%, 80.9%, 48.6%)
CIE-LABlab(52.58, -15.27, 51.61)
CIE-LCHlch(52.58, 53.82, 106.49°)
OKLaboklab(58.6% -0.0477 0.1124)
OKLCHoklch(58.6% 0.122 113)
XYZxyz(16.7498, 20.6631, 4.0256)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8319 #1F1983
analogous
#835419 #7D8319 #488319
triadic
#7D8319 #197D83 #83197D
tetradic
#7D8319 #198354 #1F1983 #831948
square
#7D8319 #198354 #1F1983 #831948
split-complementary
#7D8319 #194883 #541983
monochromatic
#1B1C05 #4C500F #7D8319 #AEB623 #D1DA3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D8319#FFFFFF#000000##000000
##7D83191.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)
#8D7C00
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#867B70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7d8319;
/* rgb */ color: rgb(125, 131, 25);
/* oklch */ color: oklch(58.6% 0.122 113.0);
Tailwind
colors: {
  custom: {
    50: '#a6a660',
    500: '#7d8319',
    950: '#000000',
  },
}
SCSS
$custom: #7d8319;
$custom-light: #a6a660;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8319",
  "rgb": {
    "r": 125,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 63.396,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.58597,
    "c": 0.12208,
    "h": 113
  },
  "luminance": 0.20663
}

Semantic roles & 50–950 ramp

primary
#7D8319
secondary
#4841B7
accent
#3DEB47
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7D8319

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

Preview Lab → · Contrast checker → · Palette generator →

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