#7B7C13#7B7C13

#7B7C13 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.7% C 0.118 H 110.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7B7C13
RGBrgb(123, 124, 19)
HSLhsl(61, 73%, 28%)
HSVhsv(61, 85%, 49%)
CMYKcmyk(0.8%, 0%, 84.7%, 51.4%)
CIE-LABlab(50.30, -12.65, 51.31)
CIE-LCHlch(50.30, 52.85, 103.85°)
OKLaboklab(56.73% -0.0408 0.1107)
OKLCHoklch(56.73% 0.118 110.2)
XYZxyz(15.4942, 18.6737, 3.4042)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7C13 #14137C
analogous
#7C4813 #7B7C13 #477C13
triadic
#7B7C13 #137B7C #7C137B
tetradic
#7B7C13 #137C48 #14137C #7C1347
square
#7B7C13 #137C48 #14137C #7C1347
split-complementary
#7B7C13 #13477C #48137C
monochromatic
#1A1B04 #46470B #7B7C13 #B0B11B #DDDF2B

Accessibility & contrast

On white

4.44
#7B7C13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7B7C13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7C13
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7C13#FFFFFF#000000##000000
##7B7C131.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#88791D
Tritanopia (blue-blind)
#847469
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b7c13;
/* rgb */ color: rgb(123, 124, 19);
/* oklch */ color: oklch(56.7% 0.118 110.2);
Tailwind
colors: {
  custom: {
    50: '#a5a15d',
    500: '#7b7c13',
    950: '#000000',
  },
}
SCSS
$custom: #7b7c13;
$custom-light: #a5a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7c13",
  "rgb": {
    "r": 123,
    "g": 124,
    "b": 19
  },
  "hsl": {
    "h": 60.571,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.56725,
    "c": 0.11796,
    "h": 110.2
  },
  "luminance": 0.18673
}

Semantic roles & 50–950 ramp

primary
#7B7C13
secondary
#3A39B2
accent
#38F039
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7C13

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

Preview Lab → · Contrast checker → · Palette generator →

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