#7B7F13#7B7F13

#7B7F13 is a mid, vivid yellow. Relative luminance 0.194; OKLCH L 57.4% C 0.121 H 111.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7B7F13
RGBrgb(123, 127, 19)
HSLhsl(62, 74%, 29%)
HSVhsv(62, 85%, 50%)
CMYKcmyk(3.1%, 0%, 85%, 50.2%)
CIE-LABlab(51.19, -14.27, 52.07)
CIE-LCHlch(51.19, 53.99, 105.33°)
OKLaboklab(57.44% -0.0452 0.1123)
OKLCHoklch(57.44% 0.121 111.9)
XYZxyz(15.8759, 19.4371, 3.5314)
Luminance0.1944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7F13 #17137F
analogous
#7F4D13 #7B7F13 #457F13
triadic
#7B7F13 #137B7F #7F137B
tetradic
#7B7F13 #137F4D #17137F #7F1345
square
#7B7F13 #137F4D #17137F #7F1345
split-complementary
#7B7F13 #13457F #4D137F
monochromatic
#1A1B04 #474A0B #7B7F13 #AFB41B #D9E02D

Accessibility & contrast

On white

4.30
#7B7F13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#7B7F13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7F13
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7F13#FFFFFF#000000##000000
##7B7F131.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8A7B1E
Tritanopia (blue-blind)
#84776C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7b7f13;
/* rgb */ color: rgb(123, 127, 19);
/* oklch */ color: oklch(57.4% 0.121 111.9);
Tailwind
colors: {
  custom: {
    50: '#a5a35d',
    500: '#7b7f13',
    950: '#000000',
  },
}
SCSS
$custom: #7b7f13;
$custom-light: #a5a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7f13",
  "rgb": {
    "r": 123,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 62.222,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.57438,
    "c": 0.1211,
    "h": 111.9
  },
  "luminance": 0.19437
}

Semantic roles & 50–950 ramp

primary
#7B7F13
secondary
#3E39B4
accent
#37F13E
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7B7F13

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

Preview Lab → · Contrast checker → · Palette generator →

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