#7F8D10#7F8D10

#7F8D10 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.1% C 0.136 H 116.7°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7F8D10
RGBrgb(127, 141, 16)
HSLhsl(67, 80%, 31%)
HSVhsv(67, 89%, 55%)
CMYKcmyk(9.9%, 0%, 88.7%, 44.7%)
CIE-LABlab(55.68, -19.89, 56.68)
CIE-LCHlch(55.68, 60.07, 109.34°)
OKLaboklab(61.12% -0.0611 0.1217)
OKLCHoklch(61.12% 0.136 116.7)
XYZxyz(18.3713, 23.5995, 4.0775)
Luminance0.2360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8D10 #1E108D
analogous
#8D5C10 #7F8D10 #408D10
triadic
#7F8D10 #107F8D #8D107F
tetradic
#7F8D10 #108D5C #1E108D #8D1040
square
#7F8D10 #108D5C #1E108D #8D1040
split-complementary
#7F8D10 #10408D #5C108D
monochromatic
#1C1F04 #4D560A #7F8D10 #B1C416 #D3E730

Accessibility & contrast

On white

3.67
#7F8D10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#7F8D10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8D10
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8D10#FFFFFF#000000##000000
##7F8D101.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#96861F
Tritanopia (blue-blind)
#888478
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7f8d10;
/* rgb */ color: rgb(127, 141, 16);
/* oklch */ color: oklch(61.1% 0.136 116.7);
Tailwind
colors: {
  custom: {
    50: '#a8ae5f',
    500: '#7f8d10',
    950: '#000000',
  },
}
SCSS
$custom: #7f8d10;
$custom-light: #a8ae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8d10",
  "rgb": {
    "r": 127,
    "g": 141,
    "b": 16
  },
  "hsl": {
    "h": 66.72,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.61119,
    "c": 0.13614,
    "h": 116.7
  },
  "luminance": 0.23599
}

Semantic roles & 50–950 ramp

primary
#7F8D10
secondary
#4737C2
accent
#32F648
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #7F8D10

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

Preview Lab → · Contrast checker → · Palette generator →

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