#7C8D10#7C8D10

#7C8D10 is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 60.9% C 0.137 H 118.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7C8D10
RGBrgb(124, 141, 16)
HSLhsl(68, 80%, 31%)
HSVhsv(68, 89%, 55%)
CMYKcmyk(12.1%, 0%, 88.7%, 44.7%)
CIE-LABlab(55.45, -21.23, 56.40)
CIE-LCHlch(55.45, 60.26, 110.62°)
OKLaboklab(60.88% -0.0646 0.1212)
OKLCHoklch(60.88% 0.137 118.1)
XYZxyz(17.9311, 23.3724, 4.0568)
Luminance0.2337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D10 #21108D
analogous
#8D5F10 #7C8D10 #3D8D10
triadic
#7C8D10 #107C8D #8D107C
tetradic
#7C8D10 #108D5F #21108D #8D103D
square
#7C8D10 #108D5F #21108D #8D103D
split-complementary
#7C8D10 #103D8D #5F108D
monochromatic
#1B1F04 #4C560A #7C8D10 #ACC416 #CFE730

Accessibility & contrast

On white

3.70
#7C8D10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#7C8D10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D10
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D10#FFFFFF#000000##000000
##7C8D101.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#958520
Tritanopia (blue-blind)
#848578
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8d10;
/* rgb */ color: rgb(124, 141, 16);
/* oklch */ color: oklch(60.9% 0.137 118.1);
Tailwind
colors: {
  custom: {
    50: '#a6ae5f',
    500: '#7c8d10',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d10;
$custom-light: #a6ae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d10",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 16
  },
  "hsl": {
    "h": 68.16,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.60876,
    "c": 0.13731,
    "h": 118.1
  },
  "luminance": 0.23372
}

Semantic roles & 50–950 ramp

primary
#7C8D10
secondary
#4A37C2
accent
#32F64C
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #7C8D10

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

Preview Lab → · Contrast checker → · Palette generator →

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