#7E901D#7E901D

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

Color values

HEX#7E901D
RGBrgb(126, 144, 29)
HSLhsl(69, 66%, 34%)
HSVhsv(69, 80%, 56%)
CMYKcmyk(12.5%, 0%, 79.9%, 43.5%)
CIE-LABlab(56.56, -21.42, 53.98)
CIE-LCHlch(56.56, 58.08, 111.64°)
OKLaboklab(61.82% -0.0644 0.1181)
OKLCHoklch(61.82% 0.135 118.6)
XYZxyz(18.7996, 24.4710, 4.8952)
Luminance0.2447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E901D #2F1D90
analogous
#90691D #7E901D #45901D
triadic
#7E901D #1D7E90 #901D7E
tetradic
#7E901D #1D9069 #2F1D90 #901D45
square
#7E901D #1D9069 #2F1D90 #901D45
split-complementary
#7E901D #1D4590 #691D90
monochromatic
#252A08 #515D13 #7E901D #ABC327 #C5DB4C

Accessibility & contrast

On white

3.56
#7E901D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E901D#FFFFFF#000000##000000
##7E901D1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#988828
Tritanopia (blue-blind)
#86887B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e901d;
/* rgb */ color: rgb(126, 144, 29);
/* oklch */ color: oklch(61.8% 0.135 118.6);
Tailwind
colors: {
  custom: {
    50: '#a7b064',
    500: '#7e901d',
    950: '#000000',
  },
}
SCSS
$custom: #7e901d;
$custom-light: #a7b064;
$custom-dark: #000000;
JSON
{
  "hex": "#7e901d",
  "rgb": {
    "r": 126,
    "g": 144,
    "b": 29
  },
  "hsl": {
    "h": 69.391,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61818,
    "c": 0.13452,
    "h": 118.6
  },
  "luminance": 0.24471
}

Semantic roles & 50–950 ramp

primary
#7E901D
secondary
#5D4BBD
accent
#3EE959
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E901D

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

Preview Lab → · Contrast checker → · Palette generator →

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