#7E8129#7E8129

#7E8129 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.3% C 0.109 H 111.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7E8129
RGBrgb(126, 129, 41)
HSLhsl(62, 52%, 33%)
HSVhsv(62, 68%, 51%)
CMYKcmyk(2.3%, 0%, 68.2%, 49.4%)
CIE-LABlab(52.17, -12.93, 45.31)
CIE-LCHlch(52.17, 47.12, 105.92°)
OKLaboklab(58.32% -0.0396 0.102)
OKLCHoklch(58.32% 0.109 111.2)
XYZxyz(16.8552, 20.2966, 5.1271)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8129 #2C2981
analogous
#815829 #7E8129 #528129
triadic
#7E8129 #297E81 #81297E
tetradic
#7E8129 #298158 #2C2981 #812952
square
#7E8129 #298158 #2C2981 #812952
split-complementary
#7E8129 #295281 #582981
monochromatic
#23240B #51531A #7E8129 #ABAF38 #C7CB5A

Accessibility & contrast

On white

4.15
#7E8129 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#7E8129 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8129
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8129#FFFFFF#000000##000000
##7E81291.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1D
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#87796F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e8129;
/* rgb */ color: rgb(126, 129, 41);
/* oklch */ color: oklch(58.3% 0.109 111.2);
Tailwind
colors: {
  custom: {
    50: '#a6a568',
    500: '#7e8129',
    950: '#000000',
  },
}
SCSS
$custom: #7e8129;
$custom-light: #a6a568;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8129",
  "rgb": {
    "r": 126,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 62.045,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58323,
    "c": 0.10941,
    "h": 111.2
  },
  "luminance": 0.20296
}

Semantic roles & 50–950 ramp

primary
#7E8129
secondary
#5956B0
accent
#4DDB51
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7E8129

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

Preview Lab → · Contrast checker → · Palette generator →

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