#7E7614#7E7614

#7E7614 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.6% C 0.111 H 104.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7E7614
RGBrgb(126, 118, 20)
HSLhsl(55, 73%, 29%)
HSVhsv(55, 84%, 49%)
CMYKcmyk(0%, 6.3%, 84.1%, 50.6%)
CIE-LABlab(48.81, -7.92, 49.85)
CIE-LCHlch(48.81, 50.48, 99.02°)
OKLaboklab(55.6% -0.0277 0.1076)
OKLCHoklch(55.6% 0.111 104.4)
XYZxyz(15.2096, 17.4436, 3.2275)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7614 #141C7E
analogous
#7E4114 #7E7614 #517E14
triadic
#7E7614 #147E76 #76147E
tetradic
#7E7614 #147E41 #141C7E #7E1451
square
#7E7614 #147E41 #141C7E #7E1451
split-complementary
#7E7614 #14517E #41147E
monochromatic
#1A1904 #49450C #7E7614 #B3A71C #DED12E

Accessibility & contrast

On white

4.68
#7E7614 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7E7614 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7614
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7614#FFFFFF#000000##FFFFFF
##7E76141.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#84761D
Tritanopia (blue-blind)
#886D64
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e7614;
/* rgb */ color: rgb(126, 118, 20);
/* oklch */ color: oklch(55.6% 0.111 104.4);
Tailwind
colors: {
  custom: {
    50: '#a79d5c',
    500: '#7e7614',
    950: '#000000',
  },
}
SCSS
$custom: #7e7614;
$custom-light: #a79d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7614",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 20
  },
  "hsl": {
    "h": 55.472,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55604,
    "c": 0.11108,
    "h": 104.4
  },
  "luminance": 0.17443
}

Semantic roles & 50–950 ramp

primary
#7E7614
secondary
#3A44B3
accent
#46EF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7614

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

Preview Lab → · Contrast checker → · Palette generator →

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