#7E6925#7E6925

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

Color values

HEX#7E6925
RGBrgb(126, 105, 37)
HSLhsl(46, 55%, 32%)
HSVhsv(46, 71%, 49%)
CMYKcmyk(0%, 16.7%, 70.6%, 50.6%)
CIE-LABlab(45.18, 0.28, 39.87)
CIE-LCHlch(45.18, 39.87, 89.60°)
OKLaboklab(52.76% -0.0026 0.0898)
OKLCHoklch(52.76% 0.09 91.7)
XYZxyz(13.9904, 14.6731, 3.8452)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6925 #253A7E
analogous
#7E3D25 #7E6925 #677E25
triadic
#7E6925 #257E69 #69257E
tetradic
#7E6925 #257E3D #253A7E #7E2567
square
#7E6925 #257E3D #253A7E #7E2567
split-complementary
#7E6925 #25677E #3D257E
monochromatic
#1F1A09 #4F4217 #7E6925 #AD9033 #CCAF51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E6925#FFFFFF#000000##FFFFFF
##7E69251.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)
#75671C
Deuteranopia (green-blind)
#7A6D28
Tritanopia (blue-blind)
#88605B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e6925;
/* rgb */ color: rgb(126, 105, 37);
/* oklch */ color: oklch(52.8% 0.090 91.7);
Tailwind
colors: {
  custom: {
    50: '#a69363',
    500: '#7e6925',
    950: '#000000',
  },
}
SCSS
$custom: #7e6925;
$custom-light: #a69363;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6925",
  "rgb": {
    "r": 126,
    "g": 105,
    "b": 37
  },
  "hsl": {
    "h": 45.843,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5276,
    "c": 0.08982,
    "h": 91.7
  },
  "luminance": 0.14672
}

Semantic roles & 50–950 ramp

primary
#7E6925
secondary
#4F66B0
accent
#6DDE4A
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#100D05
muted
#7F7E7A

Preview Lab

Preview with #7E6925

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

Preview Lab → · Contrast checker → · Palette generator →

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