#7E8729#7E8729

#7E8729 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 59.7% C 0.116 H 114.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7E8729
RGBrgb(126, 135, 41)
HSLhsl(66, 53%, 35%)
HSVhsv(66, 70%, 53%)
CMYKcmyk(6.7%, 0%, 69.6%, 47.1%)
CIE-LABlab(53.95, -16.13, 47.12)
CIE-LCHlch(53.95, 49.81, 108.90°)
OKLaboklab(59.74% -0.0486 0.1058)
OKLCHoklch(59.74% 0.116 114.7)
XYZxyz(17.6689, 21.9240, 5.3984)
Luminance0.2192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8729 #322987
analogous
#876129 #7E8729 #4F8729
triadic
#7E8729 #297E87 #87297E
tetradic
#7E8729 #298761 #322987 #87294F
square
#7E8729 #298761 #322987 #87294F
split-complementary
#7E8729 #294F87 #612987
monochromatic
#26290C #52581B #7E8729 #AAB637 #C3CE5D

Accessibility & contrast

On white

3.90
#7E8729 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7E8729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8729
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8729#FFFFFF#000000##000000
##7E87291.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e8729;
/* rgb */ color: rgb(126, 135, 41);
/* oklch */ color: oklch(59.7% 0.116 114.7);
Tailwind
colors: {
  custom: {
    50: '#a6a969',
    500: '#7e8729',
    950: '#000000',
  },
}
SCSS
$custom: #7e8729;
$custom-light: #a6a969;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8729",
  "rgb": {
    "r": 126,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 65.745,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59744,
    "c": 0.11642,
    "h": 114.7
  },
  "luminance": 0.21924
}

Semantic roles & 50–950 ramp

primary
#7E8729
secondary
#6159B3
accent
#4BDD59
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #7E8729

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

Preview Lab → · Contrast checker → · Palette generator →

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