#7C7B1A#7C7B1A

#7C7B1A 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#7C7B1A
RGBrgb(124, 123, 26)
HSLhsl(59, 65%, 29%)
HSVhsv(59, 79%, 49%)
CMYKcmyk(0%, 0.8%, 79%, 51.4%)
CIE-LABlab(50.13, -11.38, 49.05)
CIE-LCHlch(50.13, 50.35, 103.07°)
OKLaboklab(56.62% -0.0367 0.1072)
OKLCHoklch(56.62% 0.113 108.9)
XYZxyz(15.5822, 18.5261, 3.7322)
Luminance0.1853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7B1A #1A1B7C
analogous
#7C4A1A #7C7B1A #4C7C1A
triadic
#7C7B1A #1A7C7B #7B1A7C
tetradic
#7C7B1A #1A7C4A #1A1B7C #7C1A4C
square
#7C7B1A #1A7C4A #1A1B7C #7C1A4C
split-complementary
#7C7B1A #1A4C7C #4A1A7C
monochromatic
#191905 #49490F #7C7B1A #AFAD25 #D6D43B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C7B1A#FFFFFF#000000##000000
##7C7B1A1.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)
#867602
Deuteranopia (green-blind)
#877922
Tritanopia (blue-blind)
#857369
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c7b1a;
/* rgb */ color: rgb(124, 123, 26);
/* oklch */ color: oklch(56.6% 0.113 108.9);
Tailwind
colors: {
  custom: {
    50: '#a5a060',
    500: '#7c7b1a',
    950: '#000000',
  },
}
SCSS
$custom: #7c7b1a;
$custom-light: #a5a060;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7b1a",
  "rgb": {
    "r": 124,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 59.388,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56617,
    "c": 0.11327,
    "h": 108.9
  },
  "luminance": 0.18526
}

Semantic roles & 50–950 ramp

primary
#7C7B1A
secondary
#4243B0
accent
#41E840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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