#7C7D13#7C7D13

#7C7D13 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.119 H 110.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7C7D13
RGBrgb(124, 125, 19)
HSLhsl(61, 74%, 28%)
HSVhsv(61, 85%, 49%)
CMYKcmyk(0.8%, 0%, 84.8%, 51%)
CIE-LABlab(50.69, -12.73, 51.67)
CIE-LCHlch(50.69, 53.22, 103.84°)
OKLaboklab(57.05% -0.041 0.1114)
OKLCHoklch(57.05% 0.119 110.2)
XYZxyz(15.7639, 18.9998, 3.4529)
Luminance0.1900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7D13 #14137D
analogous
#7D4913 #7C7D13 #477D13
triadic
#7C7D13 #137C7D #7D137C
tetradic
#7C7D13 #137D49 #14137D #7D1347
square
#7C7D13 #137D49 #14137D #7D1347
split-complementary
#7C7D13 #13477D #49137D
monochromatic
#1A1B04 #47480B #7C7D13 #B1B21B #DDDF2C

Accessibility & contrast

On white

4.38
#7C7D13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#7C7D13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7D13
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7D13#FFFFFF#000000##000000
##7C7D131.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#897A1E
Tritanopia (blue-blind)
#85746A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7c7d13;
/* rgb */ color: rgb(124, 125, 19);
/* oklch */ color: oklch(57.1% 0.119 110.2);
Tailwind
colors: {
  custom: {
    50: '#a5a25d',
    500: '#7c7d13',
    950: '#000000',
  },
}
SCSS
$custom: #7c7d13;
$custom-light: #a5a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7d13",
  "rgb": {
    "r": 124,
    "g": 125,
    "b": 19
  },
  "hsl": {
    "h": 60.566,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.57053,
    "c": 0.11874,
    "h": 110.2
  },
  "luminance": 0.18999
}

Semantic roles & 50–950 ramp

primary
#7C7D13
secondary
#3A39B3
accent
#38F039
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7C7D13

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

Preview Lab → · Contrast checker → · Palette generator →

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