#7E8324#7E8324

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

Color values

HEX#7E8324
RGBrgb(126, 131, 36)
HSLhsl(63, 57%, 33%)
HSVhsv(63, 73%, 51%)
CMYKcmyk(3.8%, 0%, 72.5%, 48.6%)
CIE-LABlab(52.73, -14.30, 47.91)
CIE-LCHlch(52.73, 50.00, 106.62°)
OKLaboklab(58.76% -0.044 0.1066)
OKLCHoklch(58.76% 0.115 112.4)
XYZxyz(17.0394, 20.7960, 4.7852)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8324 #292483
analogous
#835824 #7E8324 #4E8324
triadic
#7E8324 #247E83 #83247E
tetradic
#7E8324 #248358 #292483 #83244E
square
#7E8324 #248358 #292483 #83244E
split-complementary
#7E8324 #244E83 #582483
monochromatic
#22230A #505317 #7E8324 #ACB331 #C9CF52

Accessibility & contrast

On white

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

On black

5.16
#7E8324 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8324
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8324#FFFFFF#000000##000000
##7E83241.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D14
Deuteranopia (green-blind)
#8D7F2B
Tritanopia (blue-blind)
#877B70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e8324;
/* rgb */ color: rgb(126, 131, 36);
/* oklch */ color: oklch(58.8% 0.115 112.4);
Tailwind
colors: {
  custom: {
    50: '#a6a666',
    500: '#7e8324',
    950: '#000000',
  },
}
SCSS
$custom: #7e8324;
$custom-light: #a6a666;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8324",
  "rgb": {
    "r": 126,
    "g": 131,
    "b": 36
  },
  "hsl": {
    "h": 63.158,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58755,
    "c": 0.11531,
    "h": 112.4
  },
  "luminance": 0.20796
}

Semantic roles & 50–950 ramp

primary
#7E8324
secondary
#554FB3
accent
#48E050
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7E8324

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

Preview Lab → · Contrast checker → · Palette generator →

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