#7E9016#7E9016

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

Color values

HEX#7E9016
RGBrgb(126, 144, 22)
HSLhsl(69, 73%, 33%)
HSVhsv(69, 85%, 56%)
CMYKcmyk(12.5%, 0%, 84.7%, 43.5%)
CIE-LABlab(56.53, -21.69, 55.95)
CIE-LCHlch(56.53, 60.00, 111.19°)
OKLaboklab(61.78% -0.0656 0.1211)
OKLCHoklch(61.78% 0.138 118.4)
XYZxyz(18.7227, 24.4402, 4.4900)
Luminance0.2444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9016 #281690
analogous
#906516 #7E9016 #419016
triadic
#7E9016 #167E90 #90167E
tetradic
#7E9016 #169065 #281690 #901641
square
#7E9016 #169065 #281690 #901641
split-complementary
#7E9016 #164190 #651690
monochromatic
#212606 #505B0E #7E9016 #ACC51E #CAE23F

Accessibility & contrast

On white

3.57
#7E9016 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#7E9016 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9016
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9016#FFFFFF#000000##000000
##7E90161.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e9016;
/* rgb */ color: rgb(126, 144, 22);
/* oklch */ color: oklch(61.8% 0.138 118.4);
Tailwind
colors: {
  custom: {
    50: '#a7b061',
    500: '#7e9016',
    950: '#000000',
  },
}
SCSS
$custom: #7e9016;
$custom-light: #a7b061;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9016",
  "rgb": {
    "r": 126,
    "g": 144,
    "b": 22
  },
  "hsl": {
    "h": 68.852,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61784,
    "c": 0.13772,
    "h": 118.4
  },
  "luminance": 0.2444
}

Semantic roles & 50–950 ramp

primary
#7E9016
secondary
#5340C2
accent
#38F053
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E9016

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

Preview Lab → · Contrast checker → · Palette generator →

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