#7D8B14#7D8B14

#7D8B14 is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.5% C 0.133 H 116.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7D8B14
RGBrgb(125, 139, 20)
HSLhsl(67, 75%, 31%)
HSVhsv(67, 86%, 55%)
CMYKcmyk(10.1%, 0%, 85.6%, 45.5%)
CIE-LABlab(54.94, -19.64, 55.07)
CIE-LCHlch(54.94, 58.47, 109.63°)
OKLaboklab(60.49% -0.0601 0.1189)
OKLCHoklch(60.49% 0.133 116.8)
XYZxyz(17.8168, 22.8760, 4.1386)
Luminance0.2288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8B14 #22148B
analogous
#8B5D14 #7D8B14 #418B14
triadic
#7D8B14 #147D8B #8B147D
tetradic
#7D8B14 #148B5D #22148B #8B1441
square
#7D8B14 #148B5D #22148B #8B1441
split-complementary
#7D8B14 #14418B #5D148B
monochromatic
#1D2005 #4D550C #7D8B14 #ADC11C #CEE237

Accessibility & contrast

On white

3.77
#7D8B14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#7D8B14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8B14
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8B14#FFFFFF#000000##000000
##7D8B141.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#948421
Tritanopia (blue-blind)
#858376
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7d8b14;
/* rgb */ color: rgb(125, 139, 20);
/* oklch */ color: oklch(60.5% 0.133 116.8);
Tailwind
colors: {
  custom: {
    50: '#a6ac60',
    500: '#7d8b14',
    950: '#000000',
  },
}
SCSS
$custom: #7d8b14;
$custom-light: #a6ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8b14",
  "rgb": {
    "r": 125,
    "g": 139,
    "b": 20
  },
  "hsl": {
    "h": 67.059,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60489,
    "c": 0.13322,
    "h": 116.8
  },
  "luminance": 0.22876
}

Semantic roles & 50–950 ramp

primary
#7D8B14
secondary
#4B3CBF
accent
#36F14C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7D8B14

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

Preview Lab → · Contrast checker → · Palette generator →

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