#7C8F19#7C8F19

#7C8F19 is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.4% C 0.136 H 119.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7C8F19
RGBrgb(124, 143, 25)
HSLhsl(70, 70%, 33%)
HSVhsv(70, 83%, 56%)
CMYKcmyk(13.3%, 0%, 82.5%, 43.9%)
CIE-LABlab(56.09, -21.95, 54.70)
CIE-LCHlch(56.09, 58.94, 111.87°)
OKLaboklab(61.4% -0.066 0.119)
OKLCHoklch(61.4% 0.136 119)
XYZxyz(18.3105, 24.0003, 4.5874)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8F19 #2C198F
analogous
#8F6719 #7C8F19 #418F19
triadic
#7C8F19 #197C8F #8F197C
tetradic
#7C8F19 #198F67 #2C198F #8F1941
square
#7C8F19 #198F67 #2C198F #8F1941
split-complementary
#7C8F19 #19418F #67198F
monochromatic
#222707 #4F5B10 #7C8F19 #A9C322 #C5DE44

Accessibility & contrast

On white

3.62
#7C8F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#7C8F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8F19
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8F19#FFFFFF#000000##000000
##7C8F191.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#84877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8f19;
/* rgb */ color: rgb(124, 143, 25);
/* oklch */ color: oklch(61.4% 0.136 119.0);
Tailwind
colors: {
  custom: {
    50: '#a5af62',
    500: '#7c8f19',
    950: '#000000',
  },
}
SCSS
$custom: #7c8f19;
$custom-light: #a5af62;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8f19",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 69.661,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61397,
    "c": 0.13609,
    "h": 119
  },
  "luminance": 0.24
}

Semantic roles & 50–950 ramp

primary
#7C8F19
secondary
#5844BF
accent
#3BED57
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C8F19

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

Preview Lab → · Contrast checker → · Palette generator →

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