#7F8110#7F8110

#7F8110 is a mid, vivid yellow. Relative luminance 0.203; OKLCH L 58.3% C 0.123 H 110.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7F8110
RGBrgb(127, 129, 16)
HSLhsl(61, 78%, 28%)
HSVhsv(61, 88%, 51%)
CMYKcmyk(1.6%, 0%, 87.6%, 49.4%)
CIE-LABlab(52.12, -13.59, 53.74)
CIE-LCHlch(52.12, 55.43, 104.19°)
OKLaboklab(58.26% -0.0438 0.1152)
OKLCHoklch(58.26% 0.123 110.8)
XYZxyz(16.6968, 20.2504, 3.5193)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8110 #121081
analogous
#814A10 #7F8110 #468110
triadic
#7F8110 #107F81 #81107F
tetradic
#7F8110 #10814A #121081 #811046
square
#7F8110 #10814A #121081 #811046
split-complementary
#7F8110 #104681 #4A1081
monochromatic
#1B1B03 #494B09 #7F8110 #B5B717 #E1E427

Accessibility & contrast

On white

4.16
#7F8110 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#7F8110 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8110
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8110#FFFFFF#000000##000000
##7F81101.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8D7E1C
Tritanopia (blue-blind)
#89786D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7f8110;
/* rgb */ color: rgb(127, 129, 16);
/* oklch */ color: oklch(58.3% 0.123 110.8);
Tailwind
colors: {
  custom: {
    50: '#a8a55d',
    500: '#7f8110',
    950: '#000000',
  },
}
SCSS
$custom: #7f8110;
$custom-light: #a8a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8110",
  "rgb": {
    "r": 127,
    "g": 129,
    "b": 16
  },
  "hsl": {
    "h": 61.062,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.58259,
    "c": 0.12326,
    "h": 110.8
  },
  "luminance": 0.2025
}

Semantic roles & 50–950 ramp

primary
#7F8110
secondary
#3836B7
accent
#33F437
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7F8110

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

Preview Lab → · Contrast checker → · Palette generator →

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