#7E8625#7E8625

#7E8625 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.5% C 0.118 H 114.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7E8625
RGBrgb(126, 134, 37)
HSLhsl(65, 57%, 34%)
HSVhsv(65, 72%, 53%)
CMYKcmyk(6%, 0%, 72.4%, 47.5%)
CIE-LABlab(53.62, -15.84, 48.40)
CIE-LCHlch(53.62, 50.93, 108.12°)
OKLaboklab(59.47% -0.0482 0.1078)
OKLCHoklch(59.47% 0.118 114.1)
XYZxyz(17.4637, 21.6197, 5.0030)
Luminance0.2162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8625 #2D2586
analogous
#865D25 #7E8625 #4D8625
triadic
#7E8625 #257E86 #86257E
tetradic
#7E8625 #25865D #2D2586 #86254D
square
#7E8625 #25865D #2D2586 #86254D
split-complementary
#7E8625 #254D86 #5D2586
monochromatic
#24260B #515618 #7E8625 #ABB632 #C6D055

Accessibility & contrast

On white

3.94
#7E8625 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#7E8625 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8625
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8625#FFFFFF#000000##000000
##7E86251.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F14
Deuteranopia (green-blind)
#90812C
Tritanopia (blue-blind)
#877E73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e8625;
/* rgb */ color: rgb(126, 134, 37);
/* oklch */ color: oklch(59.5% 0.118 114.1);
Tailwind
colors: {
  custom: {
    50: '#a6a966',
    500: '#7e8625',
    950: '#000000',
  },
}
SCSS
$custom: #7e8625;
$custom-light: #a6a966;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8625",
  "rgb": {
    "r": 126,
    "g": 134,
    "b": 37
  },
  "hsl": {
    "h": 64.948,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59474,
    "c": 0.11808,
    "h": 114.1
  },
  "luminance": 0.21619
}

Semantic roles & 50–950 ramp

primary
#7E8625
secondary
#5A52B4
accent
#48E054
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7E8625

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

Preview Lab → · Contrast checker → · Palette generator →

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