#7D8D10#7D8D10

#7D8D10 is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 61.0% C 0.137 H 117.6°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7D8D10
RGBrgb(125, 141, 16)
HSLhsl(68, 80%, 31%)
HSVhsv(68, 89%, 55%)
CMYKcmyk(11.3%, 0%, 88.7%, 44.7%)
CIE-LABlab(55.53, -20.78, 56.49)
CIE-LCHlch(55.53, 60.19, 110.20°)
OKLaboklab(60.96% -0.0634 0.1213)
OKLCHoklch(60.96% 0.137 117.6)
XYZxyz(18.0763, 23.4473, 4.0636)
Luminance0.2345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8D10 #20108D
analogous
#8D5E10 #7D8D10 #3E8D10
triadic
#7D8D10 #107D8D #8D107D
tetradic
#7D8D10 #108D5E #20108D #8D103E
square
#7D8D10 #108D5E #20108D #8D103E
split-complementary
#7D8D10 #103E8D #5E108D
monochromatic
#1C1F04 #4C560A #7D8D10 #AEC416 #D0E730

Accessibility & contrast

On white

3.69
#7D8D10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#7D8D10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8D10
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8D10#FFFFFF#000000##000000
##7D8D101.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d8d10;
/* rgb */ color: rgb(125, 141, 16);
/* oklch */ color: oklch(61.0% 0.137 117.6);
Tailwind
colors: {
  custom: {
    50: '#a6ae5f',
    500: '#7d8d10',
    950: '#000000',
  },
}
SCSS
$custom: #7d8d10;
$custom-light: #a6ae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8d10",
  "rgb": {
    "r": 125,
    "g": 141,
    "b": 16
  },
  "hsl": {
    "h": 67.68,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.60956,
    "c": 0.13691,
    "h": 117.6
  },
  "luminance": 0.23447
}

Semantic roles & 50–950 ramp

primary
#7D8D10
secondary
#4937C2
accent
#32F64B
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #7D8D10

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

Preview Lab → · Contrast checker → · Palette generator →

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