#7D9016#7D9016

#7D9016 is a mid, vivid yellow. Relative luminance 0.244; OKLCH L 61.7% C 0.138 H 118.9°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7D9016
RGBrgb(125, 144, 22)
HSLhsl(69, 73%, 33%)
HSVhsv(69, 85%, 56%)
CMYKcmyk(13.2%, 0%, 84.7%, 43.5%)
CIE-LABlab(56.45, -22.13, 55.85)
CIE-LCHlch(56.45, 60.08, 111.61°)
OKLaboklab(61.7% -0.0667 0.1209)
OKLCHoklch(61.7% 0.138 118.9)
XYZxyz(18.5760, 24.3646, 4.4831)
Luminance0.2436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9016 #291690
analogous
#906616 #7D9016 #409016
triadic
#7D9016 #167D90 #90167D
tetradic
#7D9016 #169066 #291690 #901640
square
#7D9016 #169066 #291690 #901640
split-complementary
#7D9016 #164090 #661690
monochromatic
#212606 #4F5B0E #7D9016 #ABC51E #C8E23F

Accessibility & contrast

On white

3.58
#7D9016 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#7D9016 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9016
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9016#FFFFFF#000000##000000
##7D90161.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#85887A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7d9016;
/* rgb */ color: rgb(125, 144, 22);
/* oklch */ color: oklch(61.7% 0.138 118.9);
Tailwind
colors: {
  custom: {
    50: '#a6b061',
    500: '#7d9016',
    950: '#000000',
  },
}
SCSS
$custom: #7d9016;
$custom-light: #a6b061;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9016",
  "rgb": {
    "r": 125,
    "g": 144,
    "b": 22
  },
  "hsl": {
    "h": 69.344,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61704,
    "c": 0.13813,
    "h": 118.9
  },
  "luminance": 0.24364
}

Semantic roles & 50–950 ramp

primary
#7D9016
secondary
#5440C2
accent
#38F054
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D9016

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

Preview Lab → · Contrast checker → · Palette generator →

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