#7D7E11#7D7E11

#7D7E11 is a mid, vivid yellow. Relative luminance 0.193; OKLCH L 57.4% C 0.120 H 110.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7D7E11
RGBrgb(125, 126, 17)
HSLhsl(61, 76%, 28%)
HSVhsv(61, 87%, 49%)
CMYKcmyk(0.8%, 0%, 86.5%, 50.6%)
CIE-LABlab(51.06, -12.87, 52.55)
CIE-LCHlch(51.06, 54.10, 103.76°)
OKLaboklab(57.37% -0.0416 0.1129)
OKLCHoklch(57.37% 0.12 110.2)
XYZxyz(16.0201, 19.3226, 3.4160)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7E11 #12117E
analogous
#7E4811 #7D7E11 #477E11
triadic
#7D7E11 #117D7E #7E117D
tetradic
#7D7E11 #117E48 #12117E #7E1147
square
#7D7E11 #117E48 #12117E #7E1147
split-complementary
#7D7E11 #11477E #48117E
monochromatic
#1B1B04 #48480A #7D7E11 #B2B418 #E0E227

Accessibility & contrast

On white

4.32
#7D7E11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#7D7E11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7E11
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7E11#FFFFFF#000000##000000
##7D7E111.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8A7B1D
Tritanopia (blue-blind)
#87756B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d7e11;
/* rgb */ color: rgb(125, 126, 17);
/* oklch */ color: oklch(57.4% 0.120 110.2);
Tailwind
colors: {
  custom: {
    50: '#a6a35d',
    500: '#7d7e11',
    950: '#000000',
  },
}
SCSS
$custom: #7d7e11;
$custom-light: #a6a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7e11",
  "rgb": {
    "r": 125,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 60.55,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.57372,
    "c": 0.12033,
    "h": 110.2
  },
  "luminance": 0.19322
}

Semantic roles & 50–950 ramp

primary
#7D7E11
secondary
#3837B4
accent
#35F337
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7D7E11

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

Preview Lab → · Contrast checker → · Palette generator →

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