#7D7C1B#7D7C1B

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

Color values

HEX#7D7C1B
RGBrgb(125, 124, 27)
HSLhsl(59, 64%, 30%)
HSVhsv(59, 78%, 49%)
CMYKcmyk(0%, 0.8%, 78.4%, 51%)
CIE-LABlab(50.52, -11.42, 49.09)
CIE-LCHlch(50.52, 50.41, 103.10°)
OKLaboklab(56.95% -0.0368 0.1074)
OKLCHoklch(56.95% 0.114 108.9)
XYZxyz(15.8635, 18.8549, 3.8404)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7C1B #1B1C7D
analogous
#7D4B1B #7D7C1B #4D7D1B
triadic
#7D7C1B #1B7D7C #7C1B7D
tetradic
#7D7C1B #1B7D4B #1B1C7D #7D1B4D
square
#7D7C1B #1B7D4B #1B1C7D #7D1B4D
split-complementary
#7D7C1B #1B4D7D #4B1B7D
monochromatic
#191905 #4B4A10 #7D7C1B #AFAE26 #D5D43D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7C1B#FFFFFF#000000##000000
##7D7C1B1.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)
#877703
Deuteranopia (green-blind)
#887A23
Tritanopia (blue-blind)
#86746A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d7c1b;
/* rgb */ color: rgb(125, 124, 27);
/* oklch */ color: oklch(57.0% 0.114 108.9);
Tailwind
colors: {
  custom: {
    50: '#a6a160',
    500: '#7d7c1b',
    950: '#000000',
  },
}
SCSS
$custom: #7d7c1b;
$custom-light: #a6a160;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7c1b",
  "rgb": {
    "r": 125,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 59.388,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56951,
    "c": 0.11353,
    "h": 108.9
  },
  "luminance": 0.18854
}

Semantic roles & 50–950 ramp

primary
#7D7C1B
secondary
#4344B1
accent
#42E740
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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