#7D7F11#7D7F11

#7D7F11 is a mid, vivid yellow. Relative luminance 0.196; OKLCH L 57.6% C 0.121 H 110.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7D7F11
RGBrgb(125, 127, 17)
HSLhsl(61, 76%, 28%)
HSVhsv(61, 87%, 50%)
CMYKcmyk(1.6%, 0%, 86.6%, 50.2%)
CIE-LABlab(51.36, -13.41, 52.79)
CIE-LCHlch(51.36, 54.47, 104.25°)
OKLaboklab(57.61% -0.0431 0.1134)
OKLCHoklch(57.61% 0.121 110.8)
XYZxyz(16.1486, 19.5797, 3.4588)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7F11 #13117F
analogous
#7F4A11 #7D7F11 #467F11
triadic
#7D7F11 #117D7F #7F117D
tetradic
#7D7F11 #117F4A #13117F #7F1146
square
#7D7F11 #117F4A #13117F #7F1146
split-complementary
#7D7F11 #11467F #4A117F
monochromatic
#1B1B04 #48490A #7D7F11 #B2B518 #DFE228

Accessibility & contrast

On white

4.27
#7D7F11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#7D7F11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7F11
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7F11#FFFFFF#000000##000000
##7D7F111.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8B7C1D
Tritanopia (blue-blind)
#86766C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d7f11;
/* rgb */ color: rgb(125, 127, 17);
/* oklch */ color: oklch(57.6% 0.121 110.8);
Tailwind
colors: {
  custom: {
    50: '#a6a35d',
    500: '#7d7f11',
    950: '#000000',
  },
}
SCSS
$custom: #7d7f11;
$custom-light: #a6a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7f11",
  "rgb": {
    "r": 125,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 61.091,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.57609,
    "c": 0.12136,
    "h": 110.8
  },
  "luminance": 0.19579
}

Semantic roles & 50–950 ramp

primary
#7D7F11
secondary
#3937B5
accent
#35F338
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7D7F11

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

Preview Lab → · Contrast checker → · Palette generator →

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