#7D7D1C#7D7D1C

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

Color values

HEX#7D7D1C
RGBrgb(125, 125, 28)
HSLhsl(60, 63%, 30%)
HSVhsv(60, 78%, 49%)
CMYKcmyk(0%, 0%, 77.6%, 51%)
CIE-LABlab(50.82, -11.92, 49.03)
CIE-LCHlch(50.82, 50.45, 103.67°)
OKLaboklab(57.19% -0.0381 0.1075)
OKLCHoklch(57.19% 0.114 109.5)
XYZxyz(16.0013, 19.1115, 3.9444)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7D1C #1C1C7D
analogous
#7D4D1C #7D7D1C #4D7D1C
triadic
#7D7D1C #1C7D7D #7D1C7D
tetradic
#7D7D1C #1C7D4D #1C1C7D #7D1C4D
square
#7D7D1C #1C7D4D #1C1C7D #7D1C4D
split-complementary
#7D7D1C #1C4C7D #4C1C7D
monochromatic
#191906 #4B4B11 #7D7D1C #AFAF27 #D4D43F

Accessibility & contrast

On white

4.35
#7D7D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7D1C#FFFFFF#000000##000000
##7D7D1C1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d7d1c;
/* rgb */ color: rgb(125, 125, 28);
/* oklch */ color: oklch(57.2% 0.114 109.5);
Tailwind
colors: {
  custom: {
    50: '#a6a261',
    500: '#7d7d1c',
    950: '#000000',
  },
}
SCSS
$custom: #7d7d1c;
$custom-light: #a6a261;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7d1c",
  "rgb": {
    "r": 125,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 60,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.57192,
    "c": 0.11401,
    "h": 109.5
  },
  "luminance": 0.19111
}

Semantic roles & 50–950 ramp

primary
#7D7D1C
secondary
#4444B1
accent
#41E641
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #7D7D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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