#7E7526#7E7526

#7E7526 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.5% C 0.099 H 102.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7E7526
RGBrgb(126, 117, 38)
HSLhsl(54, 54%, 32%)
HSVhsv(54, 70%, 49%)
CMYKcmyk(0%, 7.1%, 69.8%, 50.6%)
CIE-LABlab(48.63, -6.51, 42.99)
CIE-LCHlch(48.63, 43.48, 98.61°)
OKLaboklab(55.5% -0.0219 0.0966)
OKLCHoklch(55.5% 0.099 102.8)
XYZxyz(15.3160, 17.2988, 4.3656)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7526 #262F7E
analogous
#7E4926 #7E7526 #5B7E26
triadic
#7E7526 #267E75 #75267E
tetradic
#7E7526 #267E49 #262F7E #7E265B
square
#7E7526 #267E49 #262F7E #7E265B
split-complementary
#7E7526 #265B7E #49267E
monochromatic
#201E0A #4F4918 #7E7526 #ADA134 #CBBF53

Accessibility & contrast

On white

4.71
#7E7526 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7E7526 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7526
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7526#FFFFFF#000000##FFFFFF
##7E75261.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711B
Deuteranopia (green-blind)
#83752B
Tritanopia (blue-blind)
#886D65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e7526;
/* rgb */ color: rgb(126, 117, 38);
/* oklch */ color: oklch(55.5% 0.099 102.8);
Tailwind
colors: {
  custom: {
    50: '#a69c65',
    500: '#7e7526',
    950: '#000000',
  },
}
SCSS
$custom: #7e7526;
$custom-light: #a69c65;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7526",
  "rgb": {
    "r": 126,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 53.864,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55496,
    "c": 0.099,
    "h": 102.8
  },
  "luminance": 0.17298
}

Semantic roles & 50–950 ramp

primary
#7E7526
secondary
#505AB0
accent
#5ADD4B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7E7526

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

Preview Lab → · Contrast checker → · Palette generator →

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