#7D8E18#7D8E18

#7D8E18 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.2% C 0.135 H 118.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7D8E18
RGBrgb(125, 142, 24)
HSLhsl(69, 71%, 33%)
HSVhsv(69, 83%, 56%)
CMYKcmyk(12%, 0%, 83.1%, 44.3%)
CIE-LABlab(55.86, -21.04, 54.80)
CIE-LCHlch(55.86, 58.70, 111.00°)
OKLaboklab(61.23% -0.0636 0.119)
OKLCHoklch(61.23% 0.135 118.1)
XYZxyz(18.2958, 23.7721, 4.4886)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8E18 #29188E
analogous
#8E6418 #7D8E18 #428E18
triadic
#7D8E18 #187D8E #8E187D
tetradic
#7D8E18 #188E64 #29188E #8E1842
square
#7D8E18 #188E64 #29188E #8E1842
split-complementary
#7D8E18 #18428E #64188E
monochromatic
#212506 #4F5A0F #7D8E18 #ABC221 #C8DF41

Accessibility & contrast

On white

3.65
#7D8E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#7D8E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8E18
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8E18#FFFFFF#000000##000000
##7D8E181.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#968624
Tritanopia (blue-blind)
#858679
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7d8e18;
/* rgb */ color: rgb(125, 142, 24);
/* oklch */ color: oklch(61.2% 0.135 118.1);
Tailwind
colors: {
  custom: {
    50: '#a6af62',
    500: '#7d8e18',
    950: '#000000',
  },
}
SCSS
$custom: #7d8e18;
$custom-light: #a6af62;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8e18",
  "rgb": {
    "r": 125,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 68.644,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.6123,
    "c": 0.13497,
    "h": 118.1
  },
  "luminance": 0.23772
}

Semantic roles & 50–950 ramp

primary
#7D8E18
secondary
#5442C0
accent
#3AEE54
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D8E18

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

Preview Lab → · Contrast checker → · Palette generator →

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