#7E6926#7E6926

#7E6926 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.8% C 0.089 H 91.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7E6926
RGBrgb(126, 105, 38)
HSLhsl(46, 54%, 32%)
HSVhsv(46, 70%, 49%)
CMYKcmyk(0%, 16.7%, 69.8%, 50.6%)
CIE-LABlab(45.19, 0.34, 39.41)
CIE-LCHlch(45.19, 39.41, 89.51°)
OKLaboklab(52.77% -0.0023 0.089)
OKLCHoklch(52.77% 0.089 91.5)
XYZxyz(14.0063, 14.6795, 3.9290)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6926 #263B7E
analogous
#7E3D26 #7E6926 #677E26
triadic
#7E6926 #267E69 #69267E
tetradic
#7E6926 #267E3D #263B7E #7E2667
square
#7E6926 #267E3D #263B7E #7E2667
split-complementary
#7E6926 #26677E #3D267E
monochromatic
#201B0A #4F4218 #7E6926 #AD9034 #CBAF53

Accessibility & contrast

On white

5.34
#7E6926 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7E6926 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6926
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6926#FFFFFF#000000##FFFFFF
##7E69261.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75671E
Deuteranopia (green-blind)
#7A6D29
Tritanopia (blue-blind)
#88605B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e6926;
/* rgb */ color: rgb(126, 105, 38);
/* oklch */ color: oklch(52.8% 0.089 91.5);
Tailwind
colors: {
  custom: {
    50: '#a69364',
    500: '#7e6926',
    950: '#000000',
  },
}
SCSS
$custom: #7e6926;
$custom-light: #a69364;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6926",
  "rgb": {
    "r": 126,
    "g": 105,
    "b": 38
  },
  "hsl": {
    "h": 45.682,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5277,
    "c": 0.08903,
    "h": 91.5
  },
  "luminance": 0.14679
}

Semantic roles & 50–950 ramp

primary
#7E6926
secondary
#5067B0
accent
#6EDD4B
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7E6926

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

Preview Lab → · Contrast checker → · Palette generator →

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