#7D9018#7D9018

#7D9018 is a mid, vivid yellow. Relative luminance 0.244; OKLCH L 61.7% C 0.137 H 118.9°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7D9018
RGBrgb(125, 144, 24)
HSLhsl(70, 71%, 33%)
HSVhsv(70, 83%, 56%)
CMYKcmyk(13.2%, 0%, 83.3%, 43.5%)
CIE-LABlab(56.46, -22.06, 55.33)
CIE-LCHlch(56.46, 59.56, 111.73°)
OKLaboklab(61.71% -0.0664 0.1202)
OKLCHoklch(61.71% 0.137 118.9)
XYZxyz(18.5960, 24.3726, 4.5887)
Luminance0.2437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9018 #2B1890
analogous
#906718 #7D9018 #419018
triadic
#7D9018 #187D90 #90187D
tetradic
#7D9018 #189067 #2B1890 #901841
square
#7D9018 #189067 #2B1890 #901841
split-complementary
#7D9018 #184190 #671890
monochromatic
#222707 #4F5C0F #7D9018 #ABC421 #C7E043

Accessibility & contrast

On white

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

On black

5.87
#7D9018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9018
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9018#FFFFFF#000000##000000
##7D90181.003.575.875.87
#FFFFFF3.571.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#85887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7d9018;
/* rgb */ color: rgb(125, 144, 24);
/* oklch */ color: oklch(61.7% 0.137 118.9);
Tailwind
colors: {
  custom: {
    50: '#a6b062',
    500: '#7d9018',
    950: '#000000',
  },
}
SCSS
$custom: #7d9018;
$custom-light: #a6b062;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9018",
  "rgb": {
    "r": 125,
    "g": 144,
    "b": 24
  },
  "hsl": {
    "h": 69.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61713,
    "c": 0.1373,
    "h": 118.9
  },
  "luminance": 0.24372
}

Semantic roles & 50–950 ramp

primary
#7D9018
secondary
#5743C0
accent
#3AEE56
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D9018

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

Preview Lab → · Contrast checker → · Palette generator →

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