#7B7E13#7B7E13

#7B7E13 is a mid, vivid yellow. Relative luminance 0.192; OKLCH L 57.2% C 0.120 H 111.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7B7E13
RGBrgb(123, 126, 19)
HSLhsl(62, 74%, 28%)
HSVhsv(62, 85%, 49%)
CMYKcmyk(2.4%, 0%, 84.9%, 50.6%)
CIE-LABlab(50.90, -13.73, 51.82)
CIE-LCHlch(50.90, 53.61, 104.84°)
OKLaboklab(57.2% -0.0438 0.1118)
OKLCHoklch(57.2% 0.12 111.4)
XYZxyz(15.7474, 19.1801, 3.4886)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7E13 #16137E
analogous
#7E4B13 #7B7E13 #457E13
triadic
#7B7E13 #137B7E #7E137B
tetradic
#7B7E13 #137E4B #16137E #7E1345
square
#7B7E13 #137E4B #16137E #7E1345
split-complementary
#7B7E13 #13457E #4B137E
monochromatic
#1A1B04 #47490B #7B7E13 #AFB31B #DADF2C

Accessibility & contrast

On white

4.34
#7B7E13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7B7E13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7E13
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7E13#FFFFFF#000000##000000
##7B7E131.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#897A1E
Tritanopia (blue-blind)
#84766B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b7e13;
/* rgb */ color: rgb(123, 126, 19);
/* oklch */ color: oklch(57.2% 0.120 111.4);
Tailwind
colors: {
  custom: {
    50: '#a5a35d',
    500: '#7b7e13',
    950: '#000000',
  },
}
SCSS
$custom: #7b7e13;
$custom-light: #a5a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7e13",
  "rgb": {
    "r": 123,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 61.682,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.572,
    "c": 0.12004,
    "h": 111.4
  },
  "luminance": 0.1918
}

Semantic roles & 50–950 ramp

primary
#7B7E13
secondary
#3D39B4
accent
#37F03D
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7B7E13

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

Preview Lab → · Contrast checker → · Palette generator →

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