#7C7D1B#7C7D1B

#7C7D1B is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.115 H 110.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7C7D1B
RGBrgb(124, 125, 27)
HSLhsl(61, 64%, 30%)
HSVhsv(61, 78%, 49%)
CMYKcmyk(0.8%, 0%, 78.4%, 51%)
CIE-LABlab(50.72, -12.43, 49.25)
CIE-LCHlch(50.72, 50.80, 104.16°)
OKLaboklab(57.1% -0.0395 0.1078)
OKLCHoklch(57.1% 0.115 110.1)
XYZxyz(15.8442, 19.0319, 3.8756)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7D1B #1C1B7D
analogous
#7D4D1B #7C7D1B #4B7D1B
triadic
#7C7D1B #1B7C7D #7D1B7C
tetradic
#7C7D1B #1B7D4D #1C1B7D #7D1B4B
square
#7C7D1B #1B7D4D #1C1B7D #7D1B4B
split-complementary
#7C7D1B #1B4B7D #4D1B7D
monochromatic
#191905 #4A4B10 #7C7D1B #AEAF26 #D4D53D

Accessibility & contrast

On white

4.37
#7C7D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7C7D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7D1B
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7D1B#FFFFFF#000000##000000
##7C7D1B1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887703
Deuteranopia (green-blind)
#887A23
Tritanopia (blue-blind)
#85756B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7c7d1b;
/* rgb */ color: rgb(124, 125, 27);
/* oklch */ color: oklch(57.1% 0.115 110.1);
Tailwind
colors: {
  custom: {
    50: '#a5a260',
    500: '#7c7d1b',
    950: '#000000',
  },
}
SCSS
$custom: #7c7d1b;
$custom-light: #a5a260;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7d1b",
  "rgb": {
    "r": 124,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 60.612,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.57095,
    "c": 0.1148,
    "h": 110.1
  },
  "luminance": 0.19031
}

Semantic roles & 50–950 ramp

primary
#7C7D1B
secondary
#4443B1
accent
#40E742
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7C7D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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