#7C7914#7C7914

#7C7914 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.1% C 0.114 H 107.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7C7914
RGBrgb(124, 121, 20)
HSLhsl(58, 72%, 28%)
HSVhsv(58, 84%, 49%)
CMYKcmyk(0%, 2.4%, 83.9%, 51.4%)
CIE-LABlab(49.51, -10.52, 50.38)
CIE-LCHlch(49.51, 51.47, 101.79°)
OKLaboklab(56.11% -0.0348 0.1088)
OKLCHoklch(56.11% 0.114 107.7)
XYZxyz(15.2765, 18.0109, 3.3334)
Luminance0.1801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7914 #14177C
analogous
#7C4514 #7C7914 #4B7C14
triadic
#7C7914 #147C79 #79147C
tetradic
#7C7914 #147C45 #14177C #7C144B
square
#7C7914 #147C45 #14177C #7C144B
split-complementary
#7C7914 #144B7C #45147C
monochromatic
#1A1A04 #47460B #7C7914 #B1AC1D #DDD82D

Accessibility & contrast

On white

4.56
#7C7914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7C7914 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7914
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7914#FFFFFF#000000##000000
##7C79141.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#86771D
Tritanopia (blue-blind)
#867067
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c7914;
/* rgb */ color: rgb(124, 121, 20);
/* oklch */ color: oklch(56.1% 0.114 107.7);
Tailwind
colors: {
  custom: {
    50: '#a59f5d',
    500: '#7c7914',
    950: '#000000',
  },
}
SCSS
$custom: #7c7914;
$custom-light: #a59f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7914",
  "rgb": {
    "r": 124,
    "g": 121,
    "b": 20
  },
  "hsl": {
    "h": 58.269,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.56114,
    "c": 0.11426,
    "h": 107.7
  },
  "luminance": 0.1801
}

Semantic roles & 50–950 ramp

primary
#7C7914
secondary
#3A3EB2
accent
#3EEF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7914

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

Preview Lab → · Contrast checker → · Palette generator →

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