#7E7910#7E7910

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

Color values

HEX#7E7910
RGBrgb(126, 121, 16)
HSLhsl(57, 77%, 28%)
HSVhsv(57, 87%, 49%)
CMYKcmyk(0%, 4%, 87.3%, 50.6%)
CIE-LABlab(49.68, -9.70, 51.68)
CIE-LCHlch(49.68, 52.58, 100.63°)
OKLaboklab(56.29% -0.0329 0.1108)
OKLCHoklch(56.29% 0.116 106.6)
XYZxyz(15.5358, 18.1484, 3.1747)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7910 #10157E
analogous
#7E4210 #7E7910 #4C7E10
triadic
#7E7910 #107E79 #79107E
tetradic
#7E7910 #107E42 #10157E #7E104C
square
#7E7910 #107E42 #10157E #7E104C
split-complementary
#7E7910 #104C7E #42107E
monochromatic
#1B1A03 #484509 #7E7910 #B4AD17 #E3DB25

Accessibility & contrast

On white

4.54
#7E7910 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7910#FFFFFF#000000##000000
##7E79101.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e7910;
/* rgb */ color: rgb(126, 121, 16);
/* oklch */ color: oklch(56.3% 0.116 106.6);
Tailwind
colors: {
  custom: {
    50: '#a79f5b',
    500: '#7e7910',
    950: '#000000',
  },
}
SCSS
$custom: #7e7910;
$custom-light: #a79f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7910",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 16
  },
  "hsl": {
    "h": 57.273,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.56285,
    "c": 0.11556,
    "h": 106.6
  },
  "luminance": 0.18148
}

Semantic roles & 50–950 ramp

primary
#7E7910
secondary
#363BB4
accent
#3DF434
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7E7910

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

Preview Lab → · Contrast checker → · Palette generator →

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