#7E9017#7E9017

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

Color values

HEX#7E9017
RGBrgb(126, 144, 23)
HSLhsl(69, 72%, 33%)
HSVhsv(69, 84%, 56%)
CMYKcmyk(12.5%, 0%, 84%, 43.5%)
CIE-LABlab(56.53, -21.65, 55.69)
CIE-LCHlch(56.53, 59.75, 111.25°)
OKLaboklab(61.79% -0.0654 0.1207)
OKLCHoklch(61.79% 0.137 118.5)
XYZxyz(18.7326, 24.4442, 4.5418)
Luminance0.2444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9017 #291790
analogous
#906617 #7E9017 #419017
triadic
#7E9017 #177E90 #90177E
tetradic
#7E9017 #179066 #291790 #901741
square
#7E9017 #179066 #291790 #901741
split-complementary
#7E9017 #174190 #661790
monochromatic
#222606 #505B0F #7E9017 #ACC51F #C9E141

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9017#FFFFFF#000000##000000
##7E90171.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)
#86887B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e9017;
/* rgb */ color: rgb(126, 144, 23);
/* oklch */ color: oklch(61.8% 0.137 118.5);
Tailwind
colors: {
  custom: {
    50: '#a7b062',
    500: '#7e9017',
    950: '#000000',
  },
}
SCSS
$custom: #7e9017;
$custom-light: #a7b062;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9017",
  "rgb": {
    "r": 126,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 68.926,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61788,
    "c": 0.13731,
    "h": 118.5
  },
  "luminance": 0.24444
}

Semantic roles & 50–950 ramp

primary
#7E9017
secondary
#5542C1
accent
#39EF54
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E9017

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

Preview Lab → · Contrast checker → · Palette generator →

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