#7C7019#7C7019

#7C7019 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.0% C 0.103 H 101.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7C7019
RGBrgb(124, 112, 25)
HSLhsl(53, 66%, 29%)
HSVhsv(53, 80%, 49%)
CMYKcmyk(0%, 9.7%, 79.8%, 51.4%)
CIE-LABlab(46.90, -5.30, 46.44)
CIE-LCHlch(46.90, 46.75, 96.51°)
OKLaboklab(54.05% -0.0198 0.1014)
OKLCHoklch(54.05% 0.103 101)
XYZxyz(14.2825, 15.9443, 3.2448)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7019 #19257C
analogous
#7C3F19 #7C7019 #577C19
triadic
#7C7019 #197C70 #70197C
tetradic
#7C7019 #197C3F #19257C #7C1957
square
#7C7019 #197C3F #19257C #7C1957
split-complementary
#7C7019 #19577C #3F197C
monochromatic
#191705 #49420F #7C7019 #AF9E23 #D7C438

Accessibility & contrast

On white

5.01
#7C7019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7C7019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7019
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7019#FFFFFF#000000##FFFFFF
##7C70191.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D05
Deuteranopia (green-blind)
#7F711F
Tritanopia (blue-blind)
#866760
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7c7019;
/* rgb */ color: rgb(124, 112, 25);
/* oklch */ color: oklch(54.0% 0.103 101.0);
Tailwind
colors: {
  custom: {
    50: '#a5985e',
    500: '#7c7019',
    950: '#000000',
  },
}
SCSS
$custom: #7c7019;
$custom-light: #a5985e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7019",
  "rgb": {
    "r": 124,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 52.727,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54045,
    "c": 0.1033,
    "h": 101
  },
  "luminance": 0.15944
}

Semantic roles & 50–950 ramp

primary
#7C7019
secondary
#404EB0
accent
#53E93E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7C7019

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

Preview Lab → · Contrast checker → · Palette generator →

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