#7C8B19#7C8B19

#7C8B19 is a mid, vivid yellow. Relative luminance 0.228; OKLCH L 60.4% C 0.131 H 117.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7C8B19
RGBrgb(124, 139, 25)
HSLhsl(68, 70%, 32%)
HSVhsv(68, 82%, 55%)
CMYKcmyk(10.8%, 0%, 82%, 45.5%)
CIE-LABlab(54.89, -19.91, 53.63)
CIE-LCHlch(54.89, 57.21, 110.36°)
OKLaboklab(60.43% -0.0604 0.1168)
OKLCHoklch(60.43% 0.131 117.4)
XYZxyz(17.7207, 22.8207, 4.3908)
Luminance0.2282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8B19 #28198B
analogous
#8B6119 #7C8B19 #438B19
triadic
#7C8B19 #197C8B #8B197C
tetradic
#7C8B19 #198B61 #28198B #8B1943
square
#7C8B19 #198B61 #28198B #8B1943
split-complementary
#7C8B19 #19438B #61198B
monochromatic
#1F2306 #4E5710 #7C8B19 #AABF22 #C8DD41

Accessibility & contrast

On white

3.77
#7C8B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#7C8B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8B19
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8B19#FFFFFF#000000##000000
##7C8B191.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#948425
Tritanopia (blue-blind)
#848376
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7c8b19;
/* rgb */ color: rgb(124, 139, 25);
/* oklch */ color: oklch(60.4% 0.131 117.4);
Tailwind
colors: {
  custom: {
    50: '#a5ac61',
    500: '#7c8b19',
    950: '#000000',
  },
}
SCSS
$custom: #7c8b19;
$custom-light: #a5ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8b19",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 67.895,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.6043,
    "c": 0.13145,
    "h": 117.4
  },
  "luminance": 0.22821
}

Semantic roles & 50–950 ramp

primary
#7C8B19
secondary
#5242BE
accent
#3BEC53
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7C8B19

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

Preview Lab → · Contrast checker → · Palette generator →

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