#7E9022#7E9022

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

Color values

HEX#7E9022
RGBrgb(126, 144, 34)
HSLhsl(70, 62%, 35%)
HSVhsv(70, 76%, 56%)
CMYKcmyk(12.5%, 0%, 76.4%, 43.5%)
CIE-LABlab(56.58, -21.19, 52.36)
CIE-LCHlch(56.58, 56.48, 112.03°)
OKLaboklab(61.85% -0.0633 0.1156)
OKLCHoklch(61.85% 0.132 118.7)
XYZxyz(18.8666, 24.4978, 5.2477)
Luminance0.2450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9022 #342290
analogous
#906B22 #7E9022 #479022
triadic
#7E9022 #227E90 #90227E
tetradic
#7E9022 #22906B #342290 #902247
square
#7E9022 #22906B #342290 #902247
split-complementary
#7E9022 #224790 #6B2290
monochromatic
#272D0B #535E16 #7E9022 #A9C22E #C2D755

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9022#FFFFFF#000000##000000
##7E90221.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)
#9A8809
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#86887B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e9022;
/* rgb */ color: rgb(126, 144, 34);
/* oklch */ color: oklch(61.8% 0.132 118.7);
Tailwind
colors: {
  custom: {
    50: '#a7b066',
    500: '#7e9022',
    950: '#000000',
  },
}
SCSS
$custom: #7e9022;
$custom-light: #a7b066;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9022",
  "rgb": {
    "r": 126,
    "g": 144,
    "b": 34
  },
  "hsl": {
    "h": 69.818,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61847,
    "c": 0.1318,
    "h": 118.7
  },
  "luminance": 0.24498
}

Semantic roles & 50–950 ramp

primary
#7E9022
secondary
#6453BB
accent
#43E55D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E9022

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

Preview Lab → · Contrast checker → · Palette generator →

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