#7D8116#7D8116

#7D8116 is a mid, vivid yellow. Relative luminance 0.201; OKLCH L 58.1% C 0.121 H 111.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7D8116
RGBrgb(125, 129, 22)
HSLhsl(62, 71%, 30%)
HSVhsv(62, 83%, 51%)
CMYKcmyk(3.1%, 0%, 82.9%, 49.4%)
CIE-LABlab(51.97, -14.32, 51.97)
CIE-LCHlch(51.97, 53.91, 105.40°)
OKLaboklab(58.11% -0.0453 0.1126)
OKLCHoklch(58.11% 0.121 111.9)
XYZxyz(16.4531, 20.1188, 3.7755)
Luminance0.2012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8116 #1A1681
analogous
#815016 #7D8116 #488116
triadic
#7D8116 #167D81 #81167D
tetradic
#7D8116 #168150 #1A1681 #811648
square
#7D8116 #168150 #1A1681 #811648
split-complementary
#7D8116 #164881 #501681
monochromatic
#191A04 #4A4D0D #7D8116 #B0B51F #D6DD35

Accessibility & contrast

On white

4.18
#7D8116 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#7D8116 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8116
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8116#FFFFFF#000000##000000
##7D81161.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8C7D20
Tritanopia (blue-blind)
#86786E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7d8116;
/* rgb */ color: rgb(125, 129, 22);
/* oklch */ color: oklch(58.1% 0.121 111.9);
Tailwind
colors: {
  custom: {
    50: '#a6a55f',
    500: '#7d8116',
    950: '#000000',
  },
}
SCSS
$custom: #7d8116;
$custom-light: #a6a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8116",
  "rgb": {
    "r": 125,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 62.243,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.58106,
    "c": 0.12135,
    "h": 111.9
  },
  "luminance": 0.20118
}

Semantic roles & 50–950 ramp

primary
#7D8116
secondary
#423DB6
accent
#3AEE41
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7D8116

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

Preview Lab → · Contrast checker → · Palette generator →

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