#7E7119#7E7119

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

Color values

HEX#7E7119
RGBrgb(126, 113, 25)
HSLhsl(52, 67%, 30%)
HSVhsv(52, 80%, 49%)
CMYKcmyk(0%, 10.3%, 80.2%, 50.6%)
CIE-LABlab(47.39, -4.92, 46.96)
CIE-LCHlch(47.39, 47.22, 95.98°)
OKLaboklab(54.48% -0.0188 0.1024)
OKLCHoklch(54.48% 0.104 100.4)
XYZxyz(14.6855, 16.3168, 3.2954)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7119 #19267E
analogous
#7E3F19 #7E7119 #597E19
triadic
#7E7119 #197E71 #71197E
tetradic
#7E7119 #197E3F #19267E #7E1959
square
#7E7119 #197E3F #19267E #7E1959
split-complementary
#7E7119 #19597E #3F197E
monochromatic
#1A1705 #4B430F #7E7119 #B19F23 #D8C33A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7e7119;
/* rgb */ color: rgb(126, 113, 25);
/* oklch */ color: oklch(54.5% 0.104 100.4);
Tailwind
colors: {
  custom: {
    50: '#a7995e',
    500: '#7e7119',
    950: '#000000',
  },
}
SCSS
$custom: #7e7119;
$custom-light: #a7995e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7119",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 25
  },
  "hsl": {
    "h": 52.277,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54478,
    "c": 0.10411,
    "h": 100.4
  },
  "luminance": 0.16316
}

Semantic roles & 50–950 ramp

primary
#7E7119
secondary
#414FB2
accent
#54EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7E7119

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

Preview Lab → · Contrast checker → · Palette generator →

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