#7E7627#7E7627

#7E7627 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.7% C 0.099 H 103.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7E7627
RGBrgb(126, 118, 39)
HSLhsl(54, 53%, 32%)
HSVhsv(54, 69%, 49%)
CMYKcmyk(0%, 6.3%, 69%, 50.6%)
CIE-LABlab(48.93, -7.01, 42.85)
CIE-LCHlch(48.93, 43.42, 99.29°)
OKLaboklab(55.74% -0.0232 0.0964)
OKLCHoklch(55.74% 0.099 103.5)
XYZxyz(15.4494, 17.5396, 4.4907)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7627 #272F7E
analogous
#7E4B27 #7E7627 #5A7E27
triadic
#7E7627 #277E76 #76277E
tetradic
#7E7627 #277E4B #272F7E #7E275A
square
#7E7627 #277E4B #272F7E #7E275A
split-complementary
#7E7627 #275A7E #4B277E
monochromatic
#211E0A #4F4A19 #7E7627 #ADA235 #CAC055

Accessibility & contrast

On white

4.66
#7E7627 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7E7627 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7627
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7627#FFFFFF#000000##FFFFFF
##7E76271.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721C
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#886E66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e7627;
/* rgb */ color: rgb(126, 118, 39);
/* oklch */ color: oklch(55.7% 0.099 103.5);
Tailwind
colors: {
  custom: {
    50: '#a69d66',
    500: '#7e7627',
    950: '#000000',
  },
}
SCSS
$custom: #7e7627;
$custom-light: #a69d66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7627",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 39
  },
  "hsl": {
    "h": 54.483,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55736,
    "c": 0.09919,
    "h": 103.5
  },
  "luminance": 0.17539
}

Semantic roles & 50–950 ramp

primary
#7E7627
secondary
#525AAF
accent
#59DC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7E7627

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

Preview Lab → · Contrast checker → · Palette generator →

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