#7E9018#7E9018

#7E9018 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#7E9018
RGBrgb(126, 144, 24)
HSLhsl(69, 71%, 33%)
HSVhsv(69, 83%, 56%)
CMYKcmyk(12.5%, 0%, 83.3%, 43.5%)
CIE-LABlab(56.53, -21.62, 55.42)
CIE-LCHlch(56.53, 59.49, 111.31°)
OKLaboklab(61.79% -0.0653 0.1203)
OKLCHoklch(61.79% 0.137 118.5)
XYZxyz(18.7428, 24.4483, 4.5956)
Luminance0.2445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9018 #2A1890
analogous
#906618 #7E9018 #429018
triadic
#7E9018 #187E90 #90187E
tetradic
#7E9018 #189066 #2A1890 #901842
square
#7E9018 #189066 #2A1890 #901842
split-complementary
#7E9018 #184290 #661890
monochromatic
#222707 #505C0F #7E9018 #ACC421 #C8E043

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9018#FFFFFF#000000##000000
##7E90181.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)
#988825
Tritanopia (blue-blind)
#86887B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e9018;
/* rgb */ color: rgb(126, 144, 24);
/* oklch */ color: oklch(61.8% 0.137 118.5);
Tailwind
colors: {
  custom: {
    50: '#a7b062',
    500: '#7e9018',
    950: '#000000',
  },
}
SCSS
$custom: #7e9018;
$custom-light: #a7b062;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9018",
  "rgb": {
    "r": 126,
    "g": 144,
    "b": 24
  },
  "hsl": {
    "h": 69,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61792,
    "c": 0.13688,
    "h": 118.5
  },
  "luminance": 0.24448
}

Semantic roles & 50–950 ramp

primary
#7E9018
secondary
#5643C0
accent
#3AEE55
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E9018

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

Preview Lab → · Contrast checker → · Palette generator →

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