#7C7B17#7C7B17

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

Color values

HEX#7C7B17
RGBrgb(124, 123, 23)
HSLhsl(59, 69%, 29%)
HSVhsv(59, 81%, 49%)
CMYKcmyk(0%, 0.8%, 81.5%, 51.4%)
CIE-LABlab(50.11, -11.50, 50.01)
CIE-LCHlch(50.11, 51.31, 102.95°)
OKLaboklab(56.6% -0.0373 0.1086)
OKLCHoklch(56.6% 0.115 109)
XYZxyz(15.5504, 18.5134, 3.5647)
Luminance0.1851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7B17 #17187C
analogous
#7C4917 #7C7B17 #4B7C17
triadic
#7C7B17 #177C7B #7B177C
tetradic
#7C7B17 #177C49 #17187C #7C174B
square
#7C7B17 #177C49 #17187C #7C174B
split-complementary
#7C7B17 #174B7C #49177C
monochromatic
#1A1A05 #48480D #7C7B17 #B0AE21 #D9D834

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C7B17#FFFFFF#000000##000000
##7C7B171.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)
#877920
Tritanopia (blue-blind)
#857269
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c7b17;
/* rgb */ color: rgb(124, 123, 23);
/* oklch */ color: oklch(56.6% 0.115 109.0);
Tailwind
colors: {
  custom: {
    50: '#a5a05e',
    500: '#7c7b17',
    950: '#000000',
  },
}
SCSS
$custom: #7c7b17;
$custom-light: #a5a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7b17",
  "rgb": {
    "r": 124,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 59.406,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.566,
    "c": 0.11484,
    "h": 109
  },
  "luminance": 0.18513
}

Semantic roles & 50–950 ramp

primary
#7C7B17
secondary
#3E3FB1
accent
#3EEC3C
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7B17

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

Preview Lab → · Contrast checker → · Palette generator →

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