#7D7D1A#7D7D1A

#7D7D1A is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.115 H 109.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7D7D1A
RGBrgb(125, 125, 26)
HSLhsl(60, 66%, 30%)
HSVhsv(60, 79%, 49%)
CMYKcmyk(0%, 0%, 79.2%, 51%)
CIE-LABlab(50.81, -12.01, 49.70)
CIE-LCHlch(50.81, 51.13, 103.58°)
OKLaboklab(57.18% -0.0385 0.1085)
OKLCHoklch(57.18% 0.115 109.5)
XYZxyz(15.9781, 19.1023, 3.8225)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7D1A #1A1A7D
analogous
#7D4C1A #7D7D1A #4C7D1A
triadic
#7D7D1A #1A7D7D #7D1A7D
tetradic
#7D7D1A #1A7D4C #1A1A7D #7D1A4C
square
#7D7D1A #1A7D4C #1A1A7D #7D1A4C
split-complementary
#7D7D1A #1A4C7D #4C1A7D
monochromatic
#191905 #4A4A0F #7D7D1A #B0B025 #D6D63B

Accessibility & contrast

On white

4.36
#7D7D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7D7D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7D1A
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7D1A#FFFFFF#000000##000000
##7D7D1A1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887701
Deuteranopia (green-blind)
#897A22
Tritanopia (blue-blind)
#86756B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d7d1a;
/* rgb */ color: rgb(125, 125, 26);
/* oklch */ color: oklch(57.2% 0.115 109.5);
Tailwind
colors: {
  custom: {
    50: '#a6a260',
    500: '#7d7d1a',
    950: '#000000',
  },
}
SCSS
$custom: #7d7d1a;
$custom-light: #a6a260;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7d1a",
  "rgb": {
    "r": 125,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 60,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5718,
    "c": 0.11513,
    "h": 109.5
  },
  "luminance": 0.19102
}

Semantic roles & 50–950 ramp

primary
#7D7D1A
secondary
#4242B1
accent
#3FE93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7D7D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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