#7D7B1C#7D7B1C

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

Color values

HEX#7D7B1C
RGBrgb(125, 123, 28)
HSLhsl(59, 63%, 30%)
HSVhsv(59, 78%, 49%)
CMYKcmyk(0%, 1.6%, 77.6%, 51%)
CIE-LABlab(50.23, -10.83, 48.48)
CIE-LCHlch(50.23, 49.68, 102.59°)
OKLaboklab(56.72% -0.035 0.1063)
OKLCHoklch(56.72% 0.112 108.2)
XYZxyz(15.7506, 18.6103, 3.8608)
Luminance0.1861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7B1C #1C1E7D
analogous
#7D4B1C #7D7B1C #4E7D1C
triadic
#7D7B1C #1C7D7B #7B1C7D
tetradic
#7D7B1C #1C7D4B #1C1E7D #7D1C4E
square
#7D7B1C #1C7D4B #1C1E7D #7D1C4E
split-complementary
#7D7B1C #1C4E7D #4B1C7D
monochromatic
#191906 #4B4A11 #7D7B1C #AFAC27 #D4D13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7B1C#FFFFFF#000000##000000
##7D7B1C1.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)
#867606
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#867369
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d7b1c;
/* rgb */ color: rgb(125, 123, 28);
/* oklch */ color: oklch(56.7% 0.112 108.2);
Tailwind
colors: {
  custom: {
    50: '#a6a061',
    500: '#7d7b1c',
    950: '#000000',
  },
}
SCSS
$custom: #7d7b1c;
$custom-light: #a6a061;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7b1c",
  "rgb": {
    "r": 125,
    "g": 123,
    "b": 28
  },
  "hsl": {
    "h": 58.763,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.56722,
    "c": 0.11193,
    "h": 108.2
  },
  "luminance": 0.1861
}

Semantic roles & 50–950 ramp

primary
#7D7B1C
secondary
#4446B1
accent
#45E641
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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