#7B7D1C#7B7D1C

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

Color values

HEX#7B7D1C
RGBrgb(123, 125, 28)
HSLhsl(61, 63%, 30%)
HSVhsv(61, 78%, 49%)
CMYKcmyk(1.6%, 0%, 77.6%, 51%)
CIE-LABlab(50.64, -12.84, 48.80)
CIE-LCHlch(50.64, 50.46, 104.75°)
OKLaboklab(57.01% -0.0405 0.1071)
OKLCHoklch(57.01% 0.114 110.7)
XYZxyz(15.7121, 18.9625, 3.9308)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7D1C #1E1C7D
analogous
#7D4E1C #7B7D1C #4B7D1C
triadic
#7B7D1C #1C7B7D #7D1C7B
tetradic
#7B7D1C #1C7D4E #1E1C7D #7D1C4B
square
#7B7D1C #1C7D4E #1E1C7D #7D1C4B
split-complementary
#7B7D1C #1C4B7D #4E1C7D
monochromatic
#191906 #4A4B11 #7B7D1C #ACAF27 #D1D43F

Accessibility & contrast

On white

4.38
#7B7D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7B7D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7D1C
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7D1C#FFFFFF#000000##000000
##7B7D1C1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877705
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#84756B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b7d1c;
/* rgb */ color: rgb(123, 125, 28);
/* oklch */ color: oklch(57.0% 0.114 110.7);
Tailwind
colors: {
  custom: {
    50: '#a4a261',
    500: '#7b7d1c',
    950: '#000000',
  },
}
SCSS
$custom: #7b7d1c;
$custom-light: #a4a261;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7d1c",
  "rgb": {
    "r": 123,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 61.237,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.57011,
    "c": 0.11448,
    "h": 110.7
  },
  "luminance": 0.18962
}

Semantic roles & 50–950 ramp

primary
#7B7D1C
secondary
#4644B1
accent
#41E645
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #7B7D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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