#7D7B1A#7D7B1A

#7D7B1A is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.7% C 0.113 H 108.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7D7B1A
RGBrgb(125, 123, 26)
HSLhsl(59, 66%, 30%)
HSVhsv(59, 79%, 49%)
CMYKcmyk(0%, 1.6%, 79.2%, 51%)
CIE-LABlab(50.22, -10.92, 49.16)
CIE-LCHlch(50.22, 50.36, 102.52°)
OKLaboklab(56.71% -0.0355 0.1074)
OKLCHoklch(56.71% 0.113 108.3)
XYZxyz(15.7275, 18.6010, 3.7390)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7B1A #1A1C7D
analogous
#7D4A1A #7D7B1A #4E7D1A
triadic
#7D7B1A #1A7D7B #7B1A7D
tetradic
#7D7B1A #1A7D4A #1A1C7D #7D1A4E
square
#7D7B1A #1A7D4A #1A1C7D #7D1A4E
split-complementary
#7D7B1A #1A4E7D #4A1A7D
monochromatic
#191905 #4A490F #7D7B1A #B0AD25 #D6D33B

Accessibility & contrast

On white

4.45
#7D7B1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7D7B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7B1A
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7B1A#FFFFFF#000000##000000
##7D7B1A1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#867602
Deuteranopia (green-blind)
#877922
Tritanopia (blue-blind)
#877269
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d7b1a;
/* rgb */ color: rgb(125, 123, 26);
/* oklch */ color: oklch(56.7% 0.113 108.3);
Tailwind
colors: {
  custom: {
    50: '#a6a060',
    500: '#7d7b1a',
    950: '#000000',
  },
}
SCSS
$custom: #7d7b1a;
$custom-light: #a6a060;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7b1a",
  "rgb": {
    "r": 125,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 58.788,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56709,
    "c": 0.11306,
    "h": 108.3
  },
  "luminance": 0.186
}

Semantic roles & 50–950 ramp

primary
#7D7B1A
secondary
#4244B1
accent
#43E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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