#7D8114#7D8114

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

Color values

HEX#7D8114
RGBrgb(125, 129, 20)
HSLhsl(62, 73%, 29%)
HSVhsv(62, 84%, 51%)
CMYKcmyk(3.1%, 0%, 84.5%, 49.4%)
CIE-LABlab(51.96, -14.39, 52.53)
CIE-LCHlch(51.96, 54.46, 105.32°)
OKLaboklab(58.1% -0.0456 0.1134)
OKLCHoklch(58.1% 0.122 111.9)
XYZxyz(16.4346, 20.1114, 3.6779)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8114 #181481
analogous
#814F14 #7D8114 #478114
triadic
#7D8114 #147D81 #81147D
tetradic
#7D8114 #14814F #181481 #811447
square
#7D8114 #14814F #181481 #811447
split-complementary
#7D8114 #144781 #4F1481
monochromatic
#1A1A04 #4A4C0C #7D8114 #B0B61C #D9DF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D8114#FFFFFF#000000##000000
##7D81141.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)
#8C7D1F
Tritanopia (blue-blind)
#86786E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7d8114;
/* rgb */ color: rgb(125, 129, 20);
/* oklch */ color: oklch(58.1% 0.122 111.9);
Tailwind
colors: {
  custom: {
    50: '#a6a55e',
    500: '#7d8114',
    950: '#000000',
  },
}
SCSS
$custom: #7d8114;
$custom-light: #a6a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8114",
  "rgb": {
    "r": 125,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 62.202,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.58096,
    "c": 0.12224,
    "h": 111.9
  },
  "luminance": 0.20111
}

Semantic roles & 50–950 ramp

primary
#7D8114
secondary
#3F3BB6
accent
#38F03F
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7D8114

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

Preview Lab → · Contrast checker → · Palette generator →

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