#7C7015#7C7015

#7C7015 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.0% C 0.105 H 101.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7C7015
RGBrgb(124, 112, 21)
HSLhsl(53, 71%, 28%)
HSVhsv(53, 83%, 49%)
CMYKcmyk(0%, 9.7%, 83.1%, 51.4%)
CIE-LABlab(46.88, -5.46, 47.78)
CIE-LCHlch(46.88, 48.09, 96.52°)
OKLaboklab(54.02% -0.0206 0.1034)
OKLCHoklch(54.02% 0.105 101.3)
XYZxyz(14.2424, 15.9282, 3.0336)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7015 #15217C
analogous
#7C3C15 #7C7015 #547C15
triadic
#7C7015 #157C70 #70157C
tetradic
#7C7015 #157C3C #15217C #7C1554
square
#7C7015 #157C3C #15217C #7C1554
split-complementary
#7C7015 #15547C #3C157C
monochromatic
#1A1804 #48410C #7C7015 #B09F1E #DCC830

Accessibility & contrast

On white

5.02
#7C7015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7C7015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7015
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7015#FFFFFF#000000##FFFFFF
##7C70151.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7F711C
Tritanopia (blue-blind)
#86675F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7c7015;
/* rgb */ color: rgb(124, 112, 21);
/* oklch */ color: oklch(54.0% 0.105 101.3);
Tailwind
colors: {
  custom: {
    50: '#a5985c',
    500: '#7c7015',
    950: '#000000',
  },
}
SCSS
$custom: #7c7015;
$custom-light: #a5985c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7015",
  "rgb": {
    "r": 124,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 53.01,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54022,
    "c": 0.10544,
    "h": 101.3
  },
  "luminance": 0.15928
}

Semantic roles & 50–950 ramp

primary
#7C7015
secondary
#3C49B1
accent
#4FEE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C7015

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

Preview Lab → · Contrast checker → · Palette generator →

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