#7E7733#7E7733

#7E7733 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.1% C 0.090 H 103.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7E7733
RGBrgb(126, 119, 51)
HSLhsl(54, 42%, 35%)
HSVhsv(54, 60%, 49%)
CMYKcmyk(0%, 5.6%, 59.5%, 50.6%)
CIE-LABlab(49.34, -6.71, 37.62)
CIE-LCHlch(49.34, 38.22, 100.11°)
OKLaboklab(56.09% -0.0208 0.0872)
OKLCHoklch(56.09% 0.09 103.4)
XYZxyz(15.7991, 17.8688, 5.7481)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7733 #333A7E
analogous
#7E5233 #7E7733 #607E33
triadic
#7E7733 #337E77 #77337E
tetradic
#7E7733 #337E52 #333A7E #7E3360
square
#7E7733 #337E52 #333A7E #7E3360
split-complementary
#7E7733 #33607E #52337E
monochromatic
#272510 #524E21 #7E7733 #AAA045 #C2BA69

Accessibility & contrast

On white

4.59
#7E7733 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7E7733 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7733
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7733#FFFFFF#000000##FFFFFF
##7E77331.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81732C
Deuteranopia (green-blind)
#837736
Tritanopia (blue-blind)
#876F68
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e7733;
/* rgb */ color: rgb(126, 119, 51);
/* oklch */ color: oklch(56.1% 0.090 103.4);
Tailwind
colors: {
  custom: {
    50: '#a59e6d',
    500: '#7e7733',
    950: '#000000',
  },
}
SCSS
$custom: #7e7733;
$custom-light: #a59e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7733",
  "rgb": {
    "r": 126,
    "g": 119,
    "b": 51
  },
  "hsl": {
    "h": 54.4,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56094,
    "c": 0.08964,
    "h": 103.4
  },
  "luminance": 0.17868
}

Semantic roles & 50–950 ramp

primary
#7E7733
secondary
#6369AA
accent
#61D256
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #7E7733

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

Preview Lab → · Contrast checker → · Palette generator →

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