#7C7A14#7C7A14

#7C7A14 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.3% C 0.115 H 108.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7C7A14
RGBrgb(124, 122, 20)
HSLhsl(59, 72%, 28%)
HSVhsv(59, 84%, 49%)
CMYKcmyk(0%, 1.6%, 83.9%, 51.4%)
CIE-LABlab(49.80, -11.06, 50.64)
CIE-LCHlch(49.80, 51.83, 102.33°)
OKLaboklab(56.35% -0.0363 0.1094)
OKLCHoklch(56.35% 0.115 108.4)
XYZxyz(15.3986, 18.2552, 3.3742)
Luminance0.1825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7A14 #14167C
analogous
#7C4614 #7C7A14 #4A7C14
triadic
#7C7A14 #147C7A #7A147C
tetradic
#7C7A14 #147C46 #14167C #7C144A
square
#7C7A14 #147C46 #14167C #7C144A
split-complementary
#7C7A14 #144A7C #46147C
monochromatic
#1A1A04 #47460B #7C7A14 #B1AE1D #DDDA2D

Accessibility & contrast

On white

4.52
#7C7A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7C7A14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7A14
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7A14#FFFFFF#000000##000000
##7C7A141.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#86781E
Tritanopia (blue-blind)
#867168
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c7a14;
/* rgb */ color: rgb(124, 122, 20);
/* oklch */ color: oklch(56.3% 0.115 108.4);
Tailwind
colors: {
  custom: {
    50: '#a5a05d',
    500: '#7c7a14',
    950: '#000000',
  },
}
SCSS
$custom: #7c7a14;
$custom-light: #a5a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7a14",
  "rgb": {
    "r": 124,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 58.846,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.56349,
    "c": 0.11525,
    "h": 108.4
  },
  "luminance": 0.18255
}

Semantic roles & 50–950 ramp

primary
#7C7A14
secondary
#3A3DB2
accent
#3CEF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7A14

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

Preview Lab → · Contrast checker → · Palette generator →

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