#7E7629#7E7629

#7E7629 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.8% C 0.098 H 103.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7E7629
RGBrgb(126, 118, 41)
HSLhsl(54, 51%, 33%)
HSVhsv(54, 67%, 49%)
CMYKcmyk(0%, 6.3%, 67.5%, 50.6%)
CIE-LABlab(48.95, -6.88, 41.97)
CIE-LCHlch(48.95, 42.53, 99.31°)
OKLaboklab(55.76% -0.0226 0.0949)
OKLCHoklch(55.76% 0.098 103.4)
XYZxyz(15.4835, 17.5532, 4.6699)
Luminance0.1755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7629 #29317E
analogous
#7E4B29 #7E7629 #5B7E29
triadic
#7E7629 #297E76 #76297E
tetradic
#7E7629 #297E4B #29317E #7E295B
square
#7E7629 #297E4B #29317E #7E295B
split-complementary
#7E7629 #295B7E #4B297E
monochromatic
#22200B #504B1A #7E7629 #ACA138 #C9BE59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7629#FFFFFF#000000##FFFFFF
##7E76291.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)
#81721F
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#876E66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e7629;
/* rgb */ color: rgb(126, 118, 41);
/* oklch */ color: oklch(55.8% 0.098 103.4);
Tailwind
colors: {
  custom: {
    50: '#a69d67',
    500: '#7e7629',
    950: '#000000',
  },
}
SCSS
$custom: #7e7629;
$custom-light: #a69d67;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7629",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 41
  },
  "hsl": {
    "h": 54.353,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55755,
    "c": 0.09759,
    "h": 103.4
  },
  "luminance": 0.17553
}

Semantic roles & 50–950 ramp

primary
#7E7629
secondary
#555DAE
accent
#5BDA4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7E7629

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

Preview Lab → · Contrast checker → · Palette generator →

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