#7E8425#7E8425

#7E8425 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.0% C 0.116 H 113.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7E8425
RGBrgb(126, 132, 37)
HSLhsl(64, 56%, 33%)
HSVhsv(64, 72%, 52%)
CMYKcmyk(4.5%, 0%, 72%, 48.2%)
CIE-LABlab(53.03, -14.78, 47.82)
CIE-LCHlch(53.03, 50.05, 107.17°)
OKLaboklab(59% -0.0452 0.1066)
OKLCHoklch(59% 0.116 113)
XYZxyz(17.1899, 21.0721, 4.9117)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8425 #2B2584
analogous
#845A25 #7E8425 #4F8425
triadic
#7E8425 #257E84 #84257E
tetradic
#7E8425 #25845A #2B2584 #84254F
square
#7E8425 #25845A #2B2584 #84254F
split-complementary
#7E8425 #254F84 #5A2584
monochromatic
#23240A #505418 #7E8425 #ACB432 #C7CF54

Accessibility & contrast

On white

4.03
#7E8425 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#7E8425 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8425
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8425#FFFFFF#000000##000000
##7E84251.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E15
Deuteranopia (green-blind)
#8E802C
Tritanopia (blue-blind)
#877C71
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e8425;
/* rgb */ color: rgb(126, 132, 37);
/* oklch */ color: oklch(59.0% 0.116 113.0);
Tailwind
colors: {
  custom: {
    50: '#a6a766',
    500: '#7e8425',
    950: '#000000',
  },
}
SCSS
$custom: #7e8425;
$custom-light: #a6a766;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8425",
  "rgb": {
    "r": 126,
    "g": 132,
    "b": 37
  },
  "hsl": {
    "h": 63.789,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58999,
    "c": 0.11577,
    "h": 113
  },
  "luminance": 0.21072
}

Semantic roles & 50–950 ramp

primary
#7E8425
secondary
#5851B3
accent
#48E052
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7E8425

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

Preview Lab → · Contrast checker → · Palette generator →

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