#7D8C16#7D8C16

#7D8C16 is a mid, vivid yellow. Relative luminance 0.232; OKLCH L 60.7% C 0.134 H 117.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7D8C16
RGBrgb(125, 140, 22)
HSLhsl(68, 73%, 32%)
HSVhsv(68, 84%, 55%)
CMYKcmyk(10.7%, 0%, 84.3%, 45.1%)
CIE-LABlab(55.25, -20.09, 54.82)
CIE-LCHlch(55.25, 58.38, 110.13°)
OKLaboklab(60.74% -0.0612 0.1187)
OKLCHoklch(60.74% 0.134 117.3)
XYZxyz(17.9808, 23.1743, 4.2848)
Luminance0.2317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8C16 #25168C
analogous
#8C6016 #7D8C16 #428C16
triadic
#7D8C16 #167D8C #8C167D
tetradic
#7D8C16 #168C60 #25168C #8C1642
square
#7D8C16 #168C60 #25168C #8C1642
split-complementary
#7D8C16 #16428C #60168C
monochromatic
#1F2205 #4E570E #7D8C16 #ACC11E #CBE03C

Accessibility & contrast

On white

3.73
#7D8C16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#7D8C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8C16
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8C16#FFFFFF#000000##000000
##7D8C161.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#858477
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7d8c16;
/* rgb */ color: rgb(125, 140, 22);
/* oklch */ color: oklch(60.7% 0.134 117.3);
Tailwind
colors: {
  custom: {
    50: '#a6ad61',
    500: '#7d8c16',
    950: '#000000',
  },
}
SCSS
$custom: #7d8c16;
$custom-light: #a6ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8c16",
  "rgb": {
    "r": 125,
    "g": 140,
    "b": 22
  },
  "hsl": {
    "h": 67.627,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60739,
    "c": 0.13354,
    "h": 117.3
  },
  "luminance": 0.23174
}

Semantic roles & 50–950 ramp

primary
#7D8C16
secondary
#4F3EC0
accent
#38F050
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7D8C16

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

Preview Lab → · Contrast checker → · Palette generator →

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