#7D8729#7D8729

#7D8729 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.7% C 0.117 H 115.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7D8729
RGBrgb(125, 135, 41)
HSLhsl(66, 53%, 35%)
HSVhsv(66, 70%, 53%)
CMYKcmyk(7.4%, 0%, 69.6%, 47.1%)
CIE-LABlab(53.87, -16.58, 47.02)
CIE-LCHlch(53.87, 49.85, 109.42°)
OKLaboklab(59.66% -0.0498 0.1056)
OKLCHoklch(59.66% 0.117 115.2)
XYZxyz(17.5221, 21.8483, 5.3915)
Luminance0.2185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8729 #332987
analogous
#876229 #7D8729 #4E8729
triadic
#7D8729 #297D87 #87297D
tetradic
#7D8729 #298762 #332987 #87294E
square
#7D8729 #298762 #332987 #87294E
split-complementary
#7D8729 #294E87 #622987
monochromatic
#26290C #52581B #7D8729 #A8B637 #C2CE5D

Accessibility & contrast

On white

3.91
#7D8729 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#7D8729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8729
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8729#FFFFFF#000000##000000
##7D87291.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801B
Deuteranopia (green-blind)
#908230
Tritanopia (blue-blind)
#857F74
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7d8729;
/* rgb */ color: rgb(125, 135, 41);
/* oklch */ color: oklch(59.7% 0.117 115.2);
Tailwind
colors: {
  custom: {
    50: '#a5a969',
    500: '#7d8729',
    950: '#000000',
  },
}
SCSS
$custom: #7d8729;
$custom-light: #a5a969;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8729",
  "rgb": {
    "r": 125,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 66.383,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59659,
    "c": 0.11675,
    "h": 115.2
  },
  "luminance": 0.21848
}

Semantic roles & 50–950 ramp

primary
#7D8729
secondary
#6259B3
accent
#4BDD5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7D8729

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

Preview Lab → · Contrast checker → · Palette generator →

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