#7D8D29#7D8D29

#7D8D29 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.1% C 0.124 H 118.1°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7D8D29
RGBrgb(125, 141, 41)
HSLhsl(70, 55%, 36%)
HSVhsv(70, 71%, 55%)
CMYKcmyk(11.3%, 0%, 70.9%, 44.7%)
CIE-LABlab(55.65, -19.70, 48.82)
CIE-LCHlch(55.65, 52.65, 111.98°)
OKLaboklab(61.1% -0.0585 0.1094)
OKLCHoklch(61.1% 0.124 118.1)
XYZxyz(18.3829, 23.5700, 5.6784)
Luminance0.2357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8D29 #39298D
analogous
#8D6B29 #7D8D29 #4B8D29
triadic
#7D8D29 #297D8D #8D297D
tetradic
#7D8D29 #298D6B #39298D #8D294B
square
#7D8D29 #298D6B #39298D #8D294B
split-complementary
#7D8D29 #294B8D #6B298D
monochromatic
#292E0D #535E1B #7D8D29 #A7BC37 #BFD160

Accessibility & contrast

On white

3.68
#7D8D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#7D8D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8D29
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8D29#FFFFFF#000000##000000
##7D8D291.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968519
Deuteranopia (green-blind)
#958631
Tritanopia (blue-blind)
#858579
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7d8d29;
/* rgb */ color: rgb(125, 141, 41);
/* oklch */ color: oklch(61.1% 0.124 118.1);
Tailwind
colors: {
  custom: {
    50: '#a5ae69',
    500: '#7d8d29',
    950: '#000000',
  },
}
SCSS
$custom: #7d8d29;
$custom-light: #a5ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8d29",
  "rgb": {
    "r": 125,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 69.6,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61096,
    "c": 0.12404,
    "h": 118.1
  },
  "luminance": 0.2357
}

Semantic roles & 50–950 ramp

primary
#7D8D29
secondary
#6A5BB6
accent
#4ADE61
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7D8D29

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

Preview Lab → · Contrast checker → · Palette generator →

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