#7C7B1B#7C7B1B

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

Color values

HEX#7C7B1B
RGBrgb(124, 123, 27)
HSLhsl(59, 64%, 30%)
HSVhsv(59, 78%, 49%)
CMYKcmyk(0%, 0.8%, 78.2%, 51.4%)
CIE-LABlab(50.13, -11.34, 48.71)
CIE-LCHlch(50.13, 50.01, 103.10°)
OKLaboklab(56.62% -0.0365 0.1066)
OKLCHoklch(56.62% 0.113 108.9)
XYZxyz(15.5936, 18.5306, 3.7921)
Luminance0.1853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7B1B #1B1C7C
analogous
#7C4A1B #7C7B1B #4D7C1B
triadic
#7C7B1B #1B7C7B #7B1B7C
tetradic
#7C7B1B #1B7C4A #1B1C7C #7C1B4D
square
#7C7B1B #1B7C4A #1B1C7C #7C1B4D
split-complementary
#7C7B1B #1B4D7C #4A1B7C
monochromatic
#191905 #4A4910 #7C7B1B #AEAD26 #D5D33D

Accessibility & contrast

On white

4.46
#7C7B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#7C7B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7B1B
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7B1B#FFFFFF#000000##000000
##7C7B1B1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#867604
Deuteranopia (green-blind)
#877923
Tritanopia (blue-blind)
#857369
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c7b1b;
/* rgb */ color: rgb(124, 123, 27);
/* oklch */ color: oklch(56.6% 0.113 108.9);
Tailwind
colors: {
  custom: {
    50: '#a5a060',
    500: '#7c7b1b',
    950: '#000000',
  },
}
SCSS
$custom: #7c7b1b;
$custom-light: #a5a060;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7b1b",
  "rgb": {
    "r": 124,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 59.381,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56623,
    "c": 0.11271,
    "h": 108.9
  },
  "luminance": 0.1853
}

Semantic roles & 50–950 ramp

primary
#7C7B1B
secondary
#4344B0
accent
#42E741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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