#7E8329#7E8329

#7E8329 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.8% C 0.112 H 112.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7E8329
RGBrgb(126, 131, 41)
HSLhsl(63, 52%, 34%)
HSVhsv(63, 69%, 51%)
CMYKcmyk(3.8%, 0%, 68.7%, 48.6%)
CIE-LABlab(52.76, -14.00, 45.92)
CIE-LCHlch(52.76, 48.01, 106.96°)
OKLaboklab(58.79% -0.0427 0.1033)
OKLCHoklch(58.79% 0.112 112.4)
XYZxyz(17.1212, 20.8287, 5.2158)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8329 #2E2983
analogous
#835B29 #7E8329 #518329
triadic
#7E8329 #297E83 #83297E
tetradic
#7E8329 #29835B #2E2983 #832951
square
#7E8329 #29835B #2E2983 #832951
split-complementary
#7E8329 #295183 #5B2983
monochromatic
#24260C #51541A #7E8329 #ABB238 #C5CC5B

Accessibility & contrast

On white

4.07
#7E8329 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7E8329 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8329
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8329#FFFFFF#000000##000000
##7E83291.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1C
Deuteranopia (green-blind)
#8D7F2F
Tritanopia (blue-blind)
#877B71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e8329;
/* rgb */ color: rgb(126, 131, 41);
/* oklch */ color: oklch(58.8% 0.112 112.4);
Tailwind
colors: {
  custom: {
    50: '#a6a668',
    500: '#7e8329',
    950: '#000000',
  },
}
SCSS
$custom: #7e8329;
$custom-light: #a6a668;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8329",
  "rgb": {
    "r": 126,
    "g": 131,
    "b": 41
  },
  "hsl": {
    "h": 63.333,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58795,
    "c": 0.11173,
    "h": 112.4
  },
  "luminance": 0.20828
}

Semantic roles & 50–950 ramp

primary
#7E8329
secondary
#5C57B1
accent
#4CDC54
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7E8329

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

Preview Lab → · Contrast checker → · Palette generator →

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