#7C6914#7C6914

#7C6914 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.4% C 0.101 H 95.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7C6914
RGBrgb(124, 105, 20)
HSLhsl(49, 72%, 28%)
HSVhsv(49, 84%, 49%)
CMYKcmyk(0%, 15.3%, 83.9%, 51.4%)
CIE-LABlab(44.86, -1.50, 46.33)
CIE-LCHlch(44.86, 46.35, 91.85°)
OKLaboklab(52.42% -0.0095 0.1001)
OKLCHoklch(52.42% 0.101 95.4)
XYZxyz(13.4908, 14.4395, 2.7382)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6914 #14277C
analogous
#7C3514 #7C6914 #5B7C14
triadic
#7C6914 #147C69 #69147C
tetradic
#7C6914 #147C35 #14277C #7C145B
square
#7C6914 #147C35 #14277C #7C145B
split-complementary
#7C6914 #145B7C #35147C
monochromatic
#1A1604 #473C0B #7C6914 #B1961D #DDBD2D

Accessibility & contrast

On white

5.40
#7C6914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7C6914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6914
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6914#FFFFFF#000000##FFFFFF
##7C69141.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#7A6D1A
Tritanopia (blue-blind)
#876059
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c6914;
/* rgb */ color: rgb(124, 105, 20);
/* oklch */ color: oklch(52.4% 0.101 95.4);
Tailwind
colors: {
  custom: {
    50: '#a6935a',
    500: '#7c6914',
    950: '#000000',
  },
}
SCSS
$custom: #7c6914;
$custom-light: #a6935a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6914",
  "rgb": {
    "r": 124,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 49.038,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52416,
    "c": 0.10051,
    "h": 95.4
  },
  "luminance": 0.14439
}

Semantic roles & 50–950 ramp

primary
#7C6914
secondary
#3A50B2
accent
#5AEF39
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6914

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

Preview Lab → · Contrast checker → · Palette generator →

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