#7D8D14#7D8D14

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

Color values

HEX#7D8D14
RGBrgb(125, 141, 20)
HSLhsl(68, 75%, 32%)
HSVhsv(68, 86%, 55%)
CMYKcmyk(11.3%, 0%, 85.8%, 44.7%)
CIE-LABlab(55.54, -20.67, 55.58)
CIE-LCHlch(55.54, 59.30, 110.40°)
OKLaboklab(60.97% -0.0629 0.12)
OKLCHoklch(60.97% 0.135 117.7)
XYZxyz(18.1091, 23.4604, 4.2360)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8D14 #24148D
analogous
#8D6114 #7D8D14 #418D14
triadic
#7D8D14 #147D8D #8D147D
tetradic
#7D8D14 #148D61 #24148D #8D1441
square
#7D8D14 #148D61 #24148D #8D1441
split-complementary
#7D8D14 #14418D #61148D
monochromatic
#1E2205 #4D570C #7D8D14 #ADC31C #CCE339

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D8D14#FFFFFF#000000##000000
##7D8D141.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)
#968622
Tritanopia (blue-blind)
#858578
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7d8d14;
/* rgb */ color: rgb(125, 141, 20);
/* oklch */ color: oklch(61.0% 0.135 117.7);
Tailwind
colors: {
  custom: {
    50: '#a6ae60',
    500: '#7d8d14',
    950: '#000000',
  },
}
SCSS
$custom: #7d8d14;
$custom-light: #a6ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8d14",
  "rgb": {
    "r": 125,
    "g": 141,
    "b": 20
  },
  "hsl": {
    "h": 67.934,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60971,
    "c": 0.13549,
    "h": 117.7
  },
  "luminance": 0.2346
}

Semantic roles & 50–950 ramp

primary
#7D8D14
secondary
#4D3CC1
accent
#36F24F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7D8D14

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

Preview Lab → · Contrast checker → · Palette generator →

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