#7E7118#7E7118

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

Color values

HEX#7E7118
RGBrgb(126, 113, 24)
HSLhsl(52, 68%, 29%)
HSVhsv(52, 81%, 49%)
CMYKcmyk(0%, 10.3%, 81%, 50.6%)
CIE-LABlab(47.38, -4.96, 47.31)
CIE-LCHlch(47.38, 47.56, 95.99°)
OKLaboklab(54.47% -0.019 0.1029)
OKLCHoklch(54.47% 0.105 100.5)
XYZxyz(14.6749, 16.3125, 3.2396)
Luminance0.1631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7118 #18257E
analogous
#7E3E18 #7E7118 #587E18
triadic
#7E7118 #187E71 #71187E
tetradic
#7E7118 #187E3E #18257E #7E1858
square
#7E7118 #187E3E #18257E #7E1858
split-complementary
#7E7118 #18587E #3E187E
monochromatic
#1A1705 #4B430E #7E7118 #B19F22 #D9C437

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7118#FFFFFF#000000##FFFFFF
##7E71181.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)
#7D6E03
Deuteranopia (green-blind)
#80731F
Tritanopia (blue-blind)
#886860
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e7118;
/* rgb */ color: rgb(126, 113, 24);
/* oklch */ color: oklch(54.5% 0.105 100.5);
Tailwind
colors: {
  custom: {
    50: '#a7995d',
    500: '#7e7118',
    950: '#000000',
  },
}
SCSS
$custom: #7e7118;
$custom-light: #a7995d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7118",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 52.353,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54472,
    "c": 0.10466,
    "h": 100.5
  },
  "luminance": 0.16312
}

Semantic roles & 50–950 ramp

primary
#7E7118
secondary
#3F4EB2
accent
#53EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7E7118

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

Preview Lab → · Contrast checker → · Palette generator →

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