#7C7D15#7C7D15

#7C7D15 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.118 H 110.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7C7D15
RGBrgb(124, 125, 21)
HSLhsl(61, 71%, 29%)
HSVhsv(61, 83%, 49%)
CMYKcmyk(0.8%, 0%, 83.2%, 51%)
CIE-LABlab(50.70, -12.66, 51.12)
CIE-LCHlch(50.70, 52.66, 103.91°)
OKLaboklab(57.06% -0.0407 0.1106)
OKLCHoklch(57.06% 0.118 110.2)
XYZxyz(15.7818, 19.0069, 3.5467)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7D15 #16157D
analogous
#7D4A15 #7C7D15 #487D15
triadic
#7C7D15 #157C7D #7D157C
tetradic
#7C7D15 #157D4A #16157D #7D1548
square
#7C7D15 #157D4A #16157D #7D1548
split-complementary
#7C7D15 #15487D #4A157D
monochromatic
#1A1A04 #48490C #7C7D15 #B0B11E #DBDC30

Accessibility & contrast

On white

4.37
#7C7D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#7C7D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7D15
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7D15#FFFFFF#000000##000000
##7C7D151.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#897A1F
Tritanopia (blue-blind)
#85746A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7c7d15;
/* rgb */ color: rgb(124, 125, 21);
/* oklch */ color: oklch(57.1% 0.118 110.2);
Tailwind
colors: {
  custom: {
    50: '#a5a25e',
    500: '#7c7d15',
    950: '#000000',
  },
}
SCSS
$custom: #7c7d15;
$custom-light: #a5a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7d15",
  "rgb": {
    "r": 124,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 60.577,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.57062,
    "c": 0.11786,
    "h": 110.2
  },
  "luminance": 0.19006
}

Semantic roles & 50–950 ramp

primary
#7C7D15
secondary
#3D3CB2
accent
#3AEE3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7C7D15

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

Preview Lab → · Contrast checker → · Palette generator →

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