#7C8316#7C8316

#7C8316 is a mid, vivid yellow. Relative luminance 0.206; OKLCH L 58.5% C 0.124 H 113.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7C8316
RGBrgb(124, 131, 22)
HSLhsl(64, 71%, 30%)
HSVhsv(64, 83%, 51%)
CMYKcmyk(5.3%, 0%, 83.2%, 48.6%)
CIE-LABlab(52.48, -15.84, 52.39)
CIE-LCHlch(52.48, 54.73, 106.83°)
OKLaboklab(58.5% -0.0494 0.1135)
OKLCHoklch(58.5% 0.124 113.5)
XYZxyz(16.5738, 20.5760, 3.8574)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8316 #1D1683
analogous
#835316 #7C8316 #468316
triadic
#7C8316 #167C83 #83167C
tetradic
#7C8316 #168353 #1D1683 #831646
square
#7C8316 #168353 #1D1683 #831646
split-complementary
#7C8316 #164683 #531683
monochromatic
#191A04 #4A4F0D #7C8316 #AEB71F #D3DD36

Accessibility & contrast

On white

4.11
#7C8316 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7C8316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8316
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8316#FFFFFF#000000##000000
##7C83161.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#857B6F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c8316;
/* rgb */ color: rgb(124, 131, 22);
/* oklch */ color: oklch(58.5% 0.124 113.5);
Tailwind
colors: {
  custom: {
    50: '#a5a65f',
    500: '#7c8316',
    950: '#000000',
  },
}
SCSS
$custom: #7c8316;
$custom-light: #a5a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8316",
  "rgb": {
    "r": 124,
    "g": 131,
    "b": 22
  },
  "hsl": {
    "h": 63.853,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.58495,
    "c": 0.12381,
    "h": 113.5
  },
  "luminance": 0.20576
}

Semantic roles & 50–950 ramp

primary
#7C8316
secondary
#453DB7
accent
#3AEE45
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7C8316

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

Preview Lab → · Contrast checker → · Palette generator →

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