#7B7D13#7B7D13

#7B7D13 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.119 H 110.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7B7D13
RGBrgb(123, 125, 19)
HSLhsl(61, 74%, 28%)
HSVhsv(61, 85%, 49%)
CMYKcmyk(1.6%, 0%, 84.8%, 51%)
CIE-LABlab(50.60, -13.19, 51.56)
CIE-LCHlch(50.60, 53.23, 104.35°)
OKLaboklab(56.96% -0.0423 0.1112)
OKLCHoklch(56.96% 0.119 110.8)
XYZxyz(15.6201, 18.9256, 3.4462)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7D13 #15137D
analogous
#7D4A13 #7B7D13 #467D13
triadic
#7B7D13 #137B7D #7D137B
tetradic
#7B7D13 #137D4A #15137D #7D1346
square
#7B7D13 #137D4A #15137D #7D1346
split-complementary
#7B7D13 #13467D #4A137D
monochromatic
#1A1B04 #47480B #7B7D13 #AFB21B #DBDF2C

Accessibility & contrast

On white

4.39
#7B7D13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7B7D13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7D13
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7D13#FFFFFF#000000##000000
##7B7D131.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#887A1E
Tritanopia (blue-blind)
#84756A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b7d13;
/* rgb */ color: rgb(123, 125, 19);
/* oklch */ color: oklch(57.0% 0.119 110.8);
Tailwind
colors: {
  custom: {
    50: '#a5a25d',
    500: '#7b7d13',
    950: '#000000',
  },
}
SCSS
$custom: #7b7d13;
$custom-light: #a5a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7d13",
  "rgb": {
    "r": 123,
    "g": 125,
    "b": 19
  },
  "hsl": {
    "h": 61.132,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.56962,
    "c": 0.119,
    "h": 110.8
  },
  "luminance": 0.18925
}

Semantic roles & 50–950 ramp

primary
#7B7D13
secondary
#3B39B3
accent
#38F03B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7B7D13

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

Preview Lab → · Contrast checker → · Palette generator →

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