#7D7C1A#7D7C1A

#7D7C1A is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.9% C 0.114 H 108.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7D7C1A
RGBrgb(125, 124, 26)
HSLhsl(59, 66%, 30%)
HSVhsv(59, 79%, 49%)
CMYKcmyk(0%, 0.8%, 79.2%, 51%)
CIE-LABlab(50.51, -11.46, 49.43)
CIE-LCHlch(50.51, 50.74, 103.06°)
OKLaboklab(56.95% -0.037 0.1079)
OKLCHoklch(56.95% 0.114 108.9)
XYZxyz(15.8522, 18.8504, 3.7805)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7C1A #1A1B7D
analogous
#7D4B1A #7D7C1A #4D7D1A
triadic
#7D7C1A #1A7D7C #7C1A7D
tetradic
#7D7C1A #1A7D4B #1A1B7D #7D1A4D
square
#7D7C1A #1A7D4B #1A1B7D #7D1A4D
split-complementary
#7D7C1A #1A4D7D #4B1A7D
monochromatic
#191905 #4A4A0F #7D7C1A #B0AE25 #D6D53B

Accessibility & contrast

On white

4.40
#7D7C1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7D7C1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7C1A
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7C1A#FFFFFF#000000##000000
##7D7C1A1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877701
Deuteranopia (green-blind)
#887A22
Tritanopia (blue-blind)
#86746A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d7c1a;
/* rgb */ color: rgb(125, 124, 26);
/* oklch */ color: oklch(56.9% 0.114 108.9);
Tailwind
colors: {
  custom: {
    50: '#a6a160',
    500: '#7d7c1a',
    950: '#000000',
  },
}
SCSS
$custom: #7d7c1a;
$custom-light: #a6a160;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7c1a",
  "rgb": {
    "r": 125,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 59.394,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56945,
    "c": 0.11409,
    "h": 108.9
  },
  "luminance": 0.1885
}

Semantic roles & 50–950 ramp

primary
#7D7C1A
secondary
#4243B1
accent
#41E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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