#7D861C#7D861C

#7D861C is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.3% C 0.124 H 114.6°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7D861C
RGBrgb(125, 134, 28)
HSLhsl(65, 65%, 32%)
HSVhsv(65, 79%, 53%)
CMYKcmyk(6.7%, 0%, 79.1%, 47.5%)
CIE-LABlab(53.49, -16.74, 51.48)
CIE-LCHlch(53.49, 54.13, 108.01°)
OKLaboklab(59.33% -0.0515 0.1127)
OKLCHoklch(59.33% 0.124 114.6)
XYZxyz(17.1927, 21.4943, 4.3415)
Luminance0.2149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D861C #251C86
analogous
#865A1C #7D861C #48861C
triadic
#7D861C #1C7D86 #861C7D
tetradic
#7D861C #1C865A #251C86 #861C48
square
#7D861C #1C865A #251C86 #861C48
split-complementary
#7D861C #1C4886 #5A1C86
monochromatic
#1F2107 #4E5311 #7D861C #ACB927 #CBD844

Accessibility & contrast

On white

3.96
#7D861C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#7D861C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D861C
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D861C#FFFFFF#000000##000000
##7D861C1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#908126
Tritanopia (blue-blind)
#867E72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7d861c;
/* rgb */ color: rgb(125, 134, 28);
/* oklch */ color: oklch(59.3% 0.124 114.6);
Tailwind
colors: {
  custom: {
    50: '#a6a962',
    500: '#7d861c',
    950: '#000000',
  },
}
SCSS
$custom: #7d861c;
$custom-light: #a6a962;
$custom-dark: #000000;
JSON
{
  "hex": "#7d861c",
  "rgb": {
    "r": 125,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 65.094,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.59329,
    "c": 0.12387,
    "h": 114.6
  },
  "luminance": 0.21494
}

Semantic roles & 50–950 ramp

primary
#7D861C
secondary
#4F45B9
accent
#3FE84E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7D861C

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

Preview Lab → · Contrast checker → · Palette generator →

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