#7D841D#7D841D

#7D841D is a mid, vivid yellow. Relative luminance 0.210; OKLCH L 58.9% C 0.121 H 113.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7D841D
RGBrgb(125, 132, 29)
HSLhsl(64, 64%, 32%)
HSVhsv(64, 78%, 52%)
CMYKcmyk(5.3%, 0%, 78%, 48.2%)
CIE-LABlab(52.90, -15.64, 50.60)
CIE-LCHlch(52.90, 52.96, 107.17°)
OKLaboklab(58.86% -0.0483 0.111)
OKLCHoklch(58.86% 0.121 113.5)
XYZxyz(16.9310, 20.9516, 4.3143)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D841D #241D84
analogous
#84581D #7D841D #4A841D
triadic
#7D841D #1D7D84 #841D7D
tetradic
#7D841D #1D8458 #241D84 #841D4A
square
#7D841D #1D8458 #241D84 #841D4A
split-complementary
#7D841D #1D4A84 #581D84
monochromatic
#1E2007 #4D5212 #7D841D #ADB628 #CCD645

Accessibility & contrast

On white

4.05
#7D841D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#7D841D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D841D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D841D#FFFFFF#000000##000000
##7D841D1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D03
Deuteranopia (green-blind)
#8E7F26
Tritanopia (blue-blind)
#867C71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7d841d;
/* rgb */ color: rgb(125, 132, 29);
/* oklch */ color: oklch(58.9% 0.121 113.5);
Tailwind
colors: {
  custom: {
    50: '#a6a762',
    500: '#7d841d',
    950: '#000000',
  },
}
SCSS
$custom: #7d841d;
$custom-light: #a6a762;
$custom-dark: #000000;
JSON
{
  "hex": "#7d841d",
  "rgb": {
    "r": 125,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 64.078,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58858,
    "c": 0.12107,
    "h": 113.5
  },
  "luminance": 0.20951
}

Semantic roles & 50–950 ramp

primary
#7D841D
secondary
#4D46B7
accent
#41E74C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7D841D

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

Preview Lab → · Contrast checker → · Palette generator →

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