#7C791A#7C791A

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

Color values

HEX#7C791A
RGBrgb(124, 121, 26)
HSLhsl(58, 65%, 29%)
HSVhsv(58, 79%, 49%)
CMYKcmyk(0%, 2.4%, 79%, 51.4%)
CIE-LABlab(49.54, -10.29, 48.51)
CIE-LCHlch(49.54, 49.59, 101.97°)
OKLaboklab(56.15% -0.0337 0.106)
OKLCHoklch(56.15% 0.111 107.6)
XYZxyz(15.3366, 18.0349, 3.6503)
Luminance0.1803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C791A #1A1D7C
analogous
#7C481A #7C791A #4E7C1A
triadic
#7C791A #1A7C79 #791A7C
tetradic
#7C791A #1A7C48 #1A1D7C #7C1A4E
square
#7C791A #1A7C48 #1A1D7C #7C1A4E
split-complementary
#7C791A #1A4E7C #481A7C
monochromatic
#191905 #49480F #7C791A #AFAA25 #D6D13B

Accessibility & contrast

On white

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

On black

4.61
#7C791A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C791A
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C791A#FFFFFF#000000##000000
##7C791A1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#847403
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#867167
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c791a;
/* rgb */ color: rgb(124, 121, 26);
/* oklch */ color: oklch(56.1% 0.111 107.6);
Tailwind
colors: {
  custom: {
    50: '#a59f5f',
    500: '#7c791a',
    950: '#000000',
  },
}
SCSS
$custom: #7c791a;
$custom-light: #a59f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c791a",
  "rgb": {
    "r": 124,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 58.163,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56146,
    "c": 0.11122,
    "h": 107.6
  },
  "luminance": 0.18034
}

Semantic roles & 50–950 ramp

primary
#7C791A
secondary
#4245B0
accent
#45E840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C791A

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

Preview Lab → · Contrast checker → · Palette generator →

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