#7E901E#7E901E

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

Color values

HEX#7E901E
RGBrgb(126, 144, 30)
HSLhsl(69, 66%, 34%)
HSVhsv(69, 79%, 56%)
CMYKcmyk(12.5%, 0%, 79.2%, 43.5%)
CIE-LABlab(56.56, -21.38, 53.67)
CIE-LCHlch(56.56, 57.77, 111.72°)
OKLaboklab(61.82% -0.0642 0.1177)
OKLCHoklch(61.82% 0.134 118.6)
XYZxyz(18.8122, 24.4760, 4.9614)
Luminance0.2448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E901E #301E90
analogous
#90691E #7E901E #45901E
triadic
#7E901E #1E7E90 #901E7E
tetradic
#7E901E #1E9069 #301E90 #901E45
square
#7E901E #1E9069 #301E90 #901E45
split-complementary
#7E901E #1E4590 #691E90
monochromatic
#252B09 #525D13 #7E901E #AAC329 #C4DA4E

Accessibility & contrast

On white

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

On black

5.90
#7E901E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E901E
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E901E#FFFFFF#000000##000000
##7E901E1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e901e;
/* rgb */ color: rgb(126, 144, 30);
/* oklch */ color: oklch(61.8% 0.134 118.6);
Tailwind
colors: {
  custom: {
    50: '#a7b064',
    500: '#7e901e',
    950: '#000000',
  },
}
SCSS
$custom: #7e901e;
$custom-light: #a7b064;
$custom-dark: #000000;
JSON
{
  "hex": "#7e901e",
  "rgb": {
    "r": 126,
    "g": 144,
    "b": 30
  },
  "hsl": {
    "h": 69.474,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61823,
    "c": 0.13401,
    "h": 118.6
  },
  "luminance": 0.24476
}

Semantic roles & 50–950 ramp

primary
#7E901E
secondary
#5F4DBD
accent
#3FE85A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E901E

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

Preview Lab → · Contrast checker → · Palette generator →

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