#7C7B15#7C7B15

#7C7B15 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.6% C 0.116 H 109.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7C7B15
RGBrgb(124, 123, 21)
HSLhsl(59, 71%, 28%)
HSVhsv(59, 83%, 49%)
CMYKcmyk(0%, 0.8%, 83.1%, 51.4%)
CIE-LABlab(50.10, -11.58, 50.60)
CIE-LCHlch(50.10, 51.91, 102.89°)
OKLaboklab(56.59% -0.0377 0.1095)
OKLCHoklch(56.59% 0.116 109)
XYZxyz(15.5311, 18.5057, 3.4632)
Luminance0.1850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7B15 #15167C
analogous
#7C4715 #7C7B15 #497C15
triadic
#7C7B15 #157C7B #7B157C
tetradic
#7C7B15 #157C47 #15167C #7C1549
square
#7C7B15 #157C47 #15167C #7C1549
split-complementary
#7C7B15 #15497C #47157C
monochromatic
#1A1A04 #48470C #7C7B15 #B0AF1E #DCDA30

Accessibility & contrast

On white

4.47
#7C7B15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7C7B15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7B15
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7B15#FFFFFF#000000##000000
##7C7B151.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#87791F
Tritanopia (blue-blind)
#867269
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c7b15;
/* rgb */ color: rgb(124, 123, 21);
/* oklch */ color: oklch(56.6% 0.116 109.0);
Tailwind
colors: {
  custom: {
    50: '#a5a05e',
    500: '#7c7b15',
    950: '#000000',
  },
}
SCSS
$custom: #7c7b15;
$custom-light: #a5a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7b15",
  "rgb": {
    "r": 124,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 59.417,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5659,
    "c": 0.1158,
    "h": 109
  },
  "luminance": 0.18505
}

Semantic roles & 50–950 ramp

primary
#7C7B15
secondary
#3C3DB1
accent
#3CEE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7B15

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

Preview Lab → · Contrast checker → · Palette generator →

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