#7E9020#7E9020

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

Color values

HEX#7E9020
RGBrgb(126, 144, 32)
HSLhsl(70, 64%, 35%)
HSVhsv(70, 78%, 56%)
CMYKcmyk(12.5%, 0%, 77.8%, 43.5%)
CIE-LABlab(56.57, -21.29, 53.03)
CIE-LCHlch(56.57, 57.14, 111.87°)
OKLaboklab(61.83% -0.0637 0.1167)
OKLCHoklch(61.83% 0.133 118.7)
XYZxyz(18.8386, 24.4866, 5.1002)
Luminance0.2449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9020 #322090
analogous
#906A20 #7E9020 #469020
triadic
#7E9020 #207E90 #90207E
tetradic
#7E9020 #20906A #322090 #902046
square
#7E9020 #20906A #322090 #902046
split-complementary
#7E9020 #204690 #6A2090
monochromatic
#262C0A #525E15 #7E9020 #AAC22B #C3D952

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9020#FFFFFF#000000##000000
##7E90201.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)
#9A8803
Deuteranopia (green-blind)
#98882A
Tritanopia (blue-blind)
#86887B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e9020;
/* rgb */ color: rgb(126, 144, 32);
/* oklch */ color: oklch(61.8% 0.133 118.7);
Tailwind
colors: {
  custom: {
    50: '#a7b065',
    500: '#7e9020',
    950: '#000000',
  },
}
SCSS
$custom: #7e9020;
$custom-light: #a7b065;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9020",
  "rgb": {
    "r": 126,
    "g": 144,
    "b": 32
  },
  "hsl": {
    "h": 69.643,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61835,
    "c": 0.13293,
    "h": 118.7
  },
  "luminance": 0.24486
}

Semantic roles & 50–950 ramp

primary
#7E9020
secondary
#6150BC
accent
#41E75C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E9020

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

Preview Lab → · Contrast checker → · Palette generator →

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