#7C7915#7C7915

#7C7915 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.1% C 0.114 H 107.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7C7915
RGBrgb(124, 121, 21)
HSLhsl(58, 71%, 28%)
HSVhsv(58, 83%, 49%)
CMYKcmyk(0%, 2.4%, 83.1%, 51.4%)
CIE-LABlab(49.51, -10.48, 50.09)
CIE-LCHlch(49.51, 51.18, 101.82°)
OKLaboklab(56.12% -0.0346 0.1084)
OKLCHoklch(56.12% 0.114 107.7)
XYZxyz(15.2855, 18.0145, 3.3813)
Luminance0.1801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7915 #15187C
analogous
#7C4515 #7C7915 #4B7C15
triadic
#7C7915 #157C79 #79157C
tetradic
#7C7915 #157C45 #15187C #7C154B
square
#7C7915 #157C45 #15187C #7C154B
split-complementary
#7C7915 #154B7C #45157C
monochromatic
#1A1A04 #48460C #7C7915 #B0AC1E #DCD730

Accessibility & contrast

On white

4.56
#7C7915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7C7915 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7915
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7915#FFFFFF#000000##000000
##7C79151.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#86771E
Tritanopia (blue-blind)
#867067
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c7915;
/* rgb */ color: rgb(124, 121, 21);
/* oklch */ color: oklch(56.1% 0.114 107.7);
Tailwind
colors: {
  custom: {
    50: '#a59f5d',
    500: '#7c7915',
    950: '#000000',
  },
}
SCSS
$custom: #7c7915;
$custom-light: #a59f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7915",
  "rgb": {
    "r": 124,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 58.252,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56118,
    "c": 0.11379,
    "h": 107.7
  },
  "luminance": 0.18014
}

Semantic roles & 50–950 ramp

primary
#7C7915
secondary
#3C3FB1
accent
#3FEE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7915

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

Preview Lab → · Contrast checker → · Palette generator →

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