#7E6924#7E6924

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

Color values

HEX#7E6924
RGBrgb(126, 105, 36)
HSLhsl(46, 56%, 32%)
HSVhsv(46, 71%, 49%)
CMYKcmyk(0%, 16.7%, 71.4%, 50.6%)
CIE-LABlab(45.17, 0.22, 40.32)
CIE-LCHlch(45.17, 40.32, 89.69°)
OKLaboklab(52.75% -0.0029 0.0906)
OKLCHoklch(52.75% 0.091 91.8)
XYZxyz(13.9749, 14.6669, 3.7636)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6924 #24397E
analogous
#7E3C24 #7E6924 #667E24
triadic
#7E6924 #247E69 #69247E
tetradic
#7E6924 #247E3C #24397E #7E2466
square
#7E6924 #247E3C #24397E #7E2466
split-complementary
#7E6924 #24667E #3C247E
monochromatic
#1F1A09 #4E4116 #7E6924 #AE9132 #CDB050

Accessibility & contrast

On white

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

On black

3.93
#7E6924 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E6924#FFFFFF#000000##FFFFFF
##7E69241.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e6924;
/* rgb */ color: rgb(126, 105, 36);
/* oklch */ color: oklch(52.8% 0.091 91.8);
Tailwind
colors: {
  custom: {
    50: '#a69363',
    500: '#7e6924',
    950: '#000000',
  },
}
SCSS
$custom: #7e6924;
$custom-light: #a69363;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6924",
  "rgb": {
    "r": 126,
    "g": 105,
    "b": 36
  },
  "hsl": {
    "h": 46,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52751,
    "c": 0.09061,
    "h": 91.8
  },
  "luminance": 0.14666
}

Semantic roles & 50–950 ramp

primary
#7E6924
secondary
#4E65B0
accent
#6CDF49
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#100D05
muted
#7F7E7A

Preview Lab

Preview with #7E6924

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

Preview Lab → · Contrast checker → · Palette generator →

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