#7C8C11#7C8C11

#7C8C11 is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 60.6% C 0.136 H 117.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7C8C11
RGBrgb(124, 140, 17)
HSLhsl(68, 78%, 31%)
HSVhsv(68, 88%, 55%)
CMYKcmyk(11.4%, 0%, 87.9%, 45.1%)
CIE-LABlab(55.16, -20.69, 55.93)
CIE-LCHlch(55.16, 59.64, 110.30°)
OKLaboklab(60.64% -0.0631 0.1203)
OKLCHoklch(60.64% 0.136 117.7)
XYZxyz(17.7919, 23.0819, 4.0482)
Luminance0.2308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8C11 #21118C
analogous
#8C5E11 #7C8C11 #3E8C11
triadic
#7C8C11 #117C8C #8C117C
tetradic
#7C8C11 #118C5E #21118C #8C113E
square
#7C8C11 #118C5E #21118C #8C113E
split-complementary
#7C8C11 #113E8C #5E118C
monochromatic
#1B1F04 #4C550A #7C8C11 #ACC318 #CFE631

Accessibility & contrast

On white

3.74
#7C8C11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#7C8C11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8C11
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8C11#FFFFFF#000000##000000
##7C8C111.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#958520
Tritanopia (blue-blind)
#848477
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8c11;
/* rgb */ color: rgb(124, 140, 17);
/* oklch */ color: oklch(60.6% 0.136 117.7);
Tailwind
colors: {
  custom: {
    50: '#a6ad5f',
    500: '#7c8c11',
    950: '#000000',
  },
}
SCSS
$custom: #7c8c11;
$custom-light: #a6ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8c11",
  "rgb": {
    "r": 124,
    "g": 140,
    "b": 17
  },
  "hsl": {
    "h": 67.805,
    "s": 78.344,
    "l": 30.784
  },
  "oklch": {
    "l": 0.60637,
    "c": 0.13584,
    "h": 117.7
  },
  "luminance": 0.23082
}

Semantic roles & 50–950 ramp

primary
#7C8C11
secondary
#4A38C1
accent
#33F54C
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #7C8C11

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

Preview Lab → · Contrast checker → · Palette generator →

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