#7E7114#7E7114

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

Color values

HEX#7E7114
RGBrgb(126, 113, 20)
HSLhsl(53, 73%, 29%)
HSVhsv(53, 84%, 49%)
CMYKcmyk(0%, 10.3%, 84.1%, 50.6%)
CIE-LABlab(47.36, -5.11, 48.59)
CIE-LCHlch(47.36, 48.86, 96.01°)
OKLaboklab(54.45% -0.0198 0.1049)
OKLCHoklch(54.45% 0.107 100.7)
XYZxyz(14.6363, 16.2971, 3.0364)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7114 #14217E
analogous
#7E3C14 #7E7114 #567E14
triadic
#7E7114 #147E71 #71147E
tetradic
#7E7114 #147E3C #14217E #7E1456
square
#7E7114 #147E3C #14217E #7E1456
split-complementary
#7E7114 #14567E #3C147E
monochromatic
#1A1804 #49420C #7E7114 #B3A01C #DEC82E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7114#FFFFFF#000000##FFFFFF
##7E71141.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: #7e7114;
/* rgb */ color: rgb(126, 113, 20);
/* oklch */ color: oklch(54.4% 0.107 100.7);
Tailwind
colors: {
  custom: {
    50: '#a7995c',
    500: '#7e7114',
    950: '#000000',
  },
}
SCSS
$custom: #7e7114;
$custom-light: #a7995c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7114",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 20
  },
  "hsl": {
    "h": 52.642,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54449,
    "c": 0.10671,
    "h": 100.7
  },
  "luminance": 0.16296
}

Semantic roles & 50–950 ramp

primary
#7E7114
secondary
#3A49B3
accent
#4FEF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E7114

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

Preview Lab → · Contrast checker → · Palette generator →

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