#7E7913#7E7913

#7E7913 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.3% C 0.114 H 106.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7E7913
RGBrgb(126, 121, 19)
HSLhsl(57, 74%, 28%)
HSVhsv(57, 85%, 49%)
CMYKcmyk(0%, 4%, 84.9%, 50.6%)
CIE-LABlab(49.69, -9.61, 50.89)
CIE-LCHlch(49.69, 51.79, 100.70°)
OKLaboklab(56.3% -0.0325 0.1096)
OKLCHoklch(56.3% 0.114 106.5)
XYZxyz(15.5598, 18.1580, 3.3012)
Luminance0.1816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7913 #13187E
analogous
#7E4313 #7E7913 #4D7E13
triadic
#7E7913 #137E79 #79137E
tetradic
#7E7913 #137E43 #13187E #7E134D
square
#7E7913 #137E43 #13187E #7E134D
split-complementary
#7E7913 #134D7E #43137E
monochromatic
#1B1A04 #49460B #7E7913 #B3AC1B #DFD72C

Accessibility & contrast

On white

4.53
#7E7913 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7E7913 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7913
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7913#FFFFFF#000000##000000
##7E79131.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#86781D
Tritanopia (blue-blind)
#887067
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e7913;
/* rgb */ color: rgb(126, 121, 19);
/* oklch */ color: oklch(56.3% 0.114 106.5);
Tailwind
colors: {
  custom: {
    50: '#a79f5c',
    500: '#7e7913',
    950: '#000000',
  },
}
SCSS
$custom: #7e7913;
$custom-light: #a79f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7913",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 19
  },
  "hsl": {
    "h": 57.196,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56298,
    "c": 0.11434,
    "h": 106.5
  },
  "luminance": 0.18157
}

Semantic roles & 50–950 ramp

primary
#7E7913
secondary
#393FB4
accent
#40F037
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7913

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

Preview Lab → · Contrast checker → · Palette generator →

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