#7E6914#7E6914

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

Color values

HEX#7E6914
RGBrgb(126, 105, 20)
HSLhsl(48, 73%, 29%)
HSVhsv(48, 84%, 49%)
CMYKcmyk(0%, 16.7%, 84.1%, 50.6%)
CIE-LABlab(45.07, -0.54, 46.60)
CIE-LCHlch(45.07, 46.60, 90.66°)
OKLaboklab(52.63% -0.0069 0.1005)
OKLCHoklch(52.63% 0.101 93.9)
XYZxyz(13.7828, 14.5901, 2.7519)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6914 #14297E
analogous
#7E3414 #7E6914 #5E7E14
triadic
#7E6914 #147E69 #69147E
tetradic
#7E6914 #147E34 #14297E #7E145E
square
#7E6914 #147E34 #14297E #7E145E
split-complementary
#7E6914 #145E7E #34147E
monochromatic
#1A1604 #493D0C #7E6914 #B3951C #DEBB2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E6914#FFFFFF#000000##FFFFFF
##7E69141.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)
#7B6D1A
Tritanopia (blue-blind)
#896059
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e6914;
/* rgb */ color: rgb(126, 105, 20);
/* oklch */ color: oklch(52.6% 0.101 93.9);
Tailwind
colors: {
  custom: {
    50: '#a7935a',
    500: '#7e6914',
    950: '#000000',
  },
}
SCSS
$custom: #7e6914;
$custom-light: #a7935a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6914",
  "rgb": {
    "r": 126,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 48.113,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52632,
    "c": 0.10076,
    "h": 93.9
  },
  "luminance": 0.14589
}

Semantic roles & 50–950 ramp

primary
#7E6914
secondary
#3A52B3
accent
#5DEF38
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6914

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

Preview Lab → · Contrast checker → · Palette generator →

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