#7E7115#7E7115

#7E7115 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.5% C 0.106 H 100.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7E7115
RGBrgb(126, 113, 21)
HSLhsl(53, 71%, 29%)
HSVhsv(53, 83%, 49%)
CMYKcmyk(0%, 10.3%, 83.3%, 50.6%)
CIE-LABlab(47.37, -5.08, 48.29)
CIE-LCHlch(47.37, 48.55, 96.00°)
OKLaboklab(54.46% -0.0196 0.1044)
OKLCHoklch(54.46% 0.106 100.6)
XYZxyz(14.6454, 16.3007, 3.0843)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7115 #15227E
analogous
#7E3D15 #7E7115 #577E15
triadic
#7E7115 #157E71 #71157E
tetradic
#7E7115 #157E3D #15227E #7E1557
square
#7E7115 #157E3D #15227E #7E1557
split-complementary
#7E7115 #15577E #3D157E
monochromatic
#1A1804 #4A420C #7E7115 #B2A01E #DDC731

Accessibility & contrast

On white

4.93
#7E7115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7E7115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7115
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7115#FFFFFF#000000##FFFFFF
##7E71151.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#80721C
Tritanopia (blue-blind)
#886860
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e7115;
/* rgb */ color: rgb(126, 113, 21);
/* oklch */ color: oklch(54.5% 0.106 100.6);
Tailwind
colors: {
  custom: {
    50: '#a7995c',
    500: '#7e7115',
    950: '#000000',
  },
}
SCSS
$custom: #7e7115;
$custom-light: #a7995c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7115",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 52.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54455,
    "c": 0.10623,
    "h": 100.6
  },
  "luminance": 0.163
}

Semantic roles & 50–950 ramp

primary
#7E7115
secondary
#3C4AB3
accent
#50EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E7115

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

Preview Lab → · Contrast checker → · Palette generator →

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