#7E6913#7E6913

#7E6913 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.6% C 0.101 H 94.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7E6913
RGBrgb(126, 105, 19)
HSLhsl(48, 74%, 28%)
HSVhsv(48, 85%, 49%)
CMYKcmyk(0%, 16.7%, 84.9%, 50.6%)
CIE-LABlab(45.06, -0.57, 46.92)
CIE-LCHlch(45.06, 46.92, 90.70°)
OKLaboklab(52.63% -0.0071 0.101)
OKLCHoklch(52.63% 0.101 94)
XYZxyz(13.7741, 14.5866, 2.7060)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6913 #13287E
analogous
#7E3313 #7E6913 #5D7E13
triadic
#7E6913 #137E69 #69137E
tetradic
#7E6913 #137E33 #13287E #7E135D
square
#7E6913 #137E33 #13287E #7E135D
split-complementary
#7E6913 #135D7E #33137E
monochromatic
#1B1604 #493D0B #7E6913 #B3951B #DFBC2C

Accessibility & contrast

On white

5.36
#7E6913 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7E6913 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6913
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6913#FFFFFF#000000##FFFFFF
##7E69131.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#7B6D19
Tritanopia (blue-blind)
#896059
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e6913;
/* rgb */ color: rgb(126, 105, 19);
/* oklch */ color: oklch(52.6% 0.101 94.0);
Tailwind
colors: {
  custom: {
    50: '#a7935a',
    500: '#7e6913',
    950: '#000000',
  },
}
SCSS
$custom: #7e6913;
$custom-light: #a7935a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6913",
  "rgb": {
    "r": 126,
    "g": 105,
    "b": 19
  },
  "hsl": {
    "h": 48.224,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52627,
    "c": 0.10124,
    "h": 94
  },
  "luminance": 0.14586
}

Semantic roles & 50–950 ramp

primary
#7E6913
secondary
#3951B4
accent
#5CF037
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6913

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

Preview Lab → · Contrast checker → · Palette generator →

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