#7D8F14#7D8F14

#7D8F14 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.5% C 0.138 H 118.5°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7D8F14
RGBrgb(125, 143, 20)
HSLhsl(69, 75%, 32%)
HSVhsv(69, 86%, 56%)
CMYKcmyk(12.6%, 0%, 86%, 43.9%)
CIE-LABlab(56.14, -21.69, 56.09)
CIE-LCHlch(56.14, 60.14, 111.14°)
OKLaboklab(61.45% -0.0657 0.1211)
OKLCHoklch(61.45% 0.138 118.5)
XYZxyz(18.4066, 24.0556, 4.3352)
Luminance0.2406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8F14 #26148F
analogous
#8F6314 #7D8F14 #408F14
triadic
#7D8F14 #147D8F #8F147D
tetradic
#7D8F14 #148F63 #26148F #8F1440
square
#7D8F14 #148F63 #26148F #8F1440
split-complementary
#7D8F14 #14408F #63148F
monochromatic
#1F2405 #4E590C #7D8F14 #ACC51C #CBE33A

Accessibility & contrast

On white

3.61
#7D8F14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#7D8F14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8F14
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8F14#FFFFFF#000000##000000
##7D8F141.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#978722
Tritanopia (blue-blind)
#85877A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7d8f14;
/* rgb */ color: rgb(125, 143, 20);
/* oklch */ color: oklch(61.5% 0.138 118.5);
Tailwind
colors: {
  custom: {
    50: '#a6af60',
    500: '#7d8f14',
    950: '#000000',
  },
}
SCSS
$custom: #7d8f14;
$custom-light: #a6af60;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8f14",
  "rgb": {
    "r": 125,
    "g": 143,
    "b": 20
  },
  "hsl": {
    "h": 68.78,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61454,
    "c": 0.13776,
    "h": 118.5
  },
  "luminance": 0.24055
}

Semantic roles & 50–950 ramp

primary
#7D8F14
secondary
#503CC3
accent
#36F251
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7D8F14

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

Preview Lab → · Contrast checker → · Palette generator →

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