#7C8C10#7C8C10

#7C8C10 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#7C8C10
RGBrgb(124, 140, 16)
HSLhsl(68, 79%, 31%)
HSVhsv(68, 89%, 55%)
CMYKcmyk(11.4%, 0%, 88.6%, 45.1%)
CIE-LABlab(55.15, -20.72, 56.15)
CIE-LCHlch(55.15, 59.85, 110.25°)
OKLaboklab(60.63% -0.0632 0.1206)
OKLCHoklch(60.63% 0.136 117.7)
XYZxyz(17.7843, 23.0789, 4.0079)
Luminance0.2308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8C10 #20108C
analogous
#8C5E10 #7C8C10 #3E8C10
triadic
#7C8C10 #107C8C #8C107C
tetradic
#7C8C10 #108C5E #20108C #8C103E
square
#7C8C10 #108C5E #20108C #8C103E
split-complementary
#7C8C10 #103E8C #5E108C
monochromatic
#1B1E03 #4B550A #7C8C10 #ADC316 #CFE72F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8C10#FFFFFF#000000##000000
##7C8C101.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)
#95851F
Tritanopia (blue-blind)
#848477
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8c10;
/* rgb */ color: rgb(124, 140, 16);
/* oklch */ color: oklch(60.6% 0.136 117.7);
Tailwind
colors: {
  custom: {
    50: '#a6ad5e',
    500: '#7c8c10',
    950: '#000000',
  },
}
SCSS
$custom: #7c8c10;
$custom-light: #a6ad5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8c10",
  "rgb": {
    "r": 124,
    "g": 140,
    "b": 16
  },
  "hsl": {
    "h": 67.742,
    "s": 79.487,
    "l": 30.588
  },
  "oklch": {
    "l": 0.60634,
    "c": 0.13618,
    "h": 117.7
  },
  "luminance": 0.23079
}

Semantic roles & 50–950 ramp

primary
#7C8C10
secondary
#4937C1
accent
#32F64B
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #7C8C10

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

Preview Lab → · Contrast checker → · Palette generator →

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