#7D7C14#7D7C14

#7D7C14 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 56.9% C 0.117 H 109.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7D7C14
RGBrgb(125, 124, 20)
HSLhsl(59, 72%, 28%)
HSVhsv(59, 84%, 49%)
CMYKcmyk(0%, 0.8%, 84%, 51%)
CIE-LABlab(50.48, -11.69, 51.26)
CIE-LCHlch(50.48, 52.57, 102.85°)
OKLaboklab(56.91% -0.0381 0.1107)
OKLCHoklch(56.91% 0.117 109)
XYZxyz(15.7920, 18.8263, 3.4637)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7C14 #14157D
analogous
#7D4714 #7D7C14 #497D14
triadic
#7D7C14 #147D7C #7C147D
tetradic
#7D7C14 #147D47 #14157D #7D1449
square
#7D7C14 #147D47 #14157D #7D1449
split-complementary
#7D7C14 #14497D #47147D
monochromatic
#1A1A04 #48480C #7D7C14 #B2B01C #DEDC2E

Accessibility & contrast

On white

4.41
#7D7C14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7D7C14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7C14
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7C14#FFFFFF#000000##000000
##7D7C141.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#887A1E
Tritanopia (blue-blind)
#877369
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d7c14;
/* rgb */ color: rgb(125, 124, 20);
/* oklch */ color: oklch(56.9% 0.117 109.0);
Tailwind
colors: {
  custom: {
    50: '#a6a15d',
    500: '#7d7c14',
    950: '#000000',
  },
}
SCSS
$custom: #7d7c14;
$custom-light: #a6a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7c14",
  "rgb": {
    "r": 125,
    "g": 124,
    "b": 20
  },
  "hsl": {
    "h": 59.429,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56913,
    "c": 0.11705,
    "h": 109
  },
  "luminance": 0.18826
}

Semantic roles & 50–950 ramp

primary
#7D7C14
secondary
#3A3CB2
accent
#3AEF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7C14

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

Preview Lab → · Contrast checker → · Palette generator →

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