#7B7C1B#7B7C1B

#7B7C1B is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.8% C 0.114 H 110.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7B7C1B
RGBrgb(123, 124, 27)
HSLhsl(61, 64%, 30%)
HSVhsv(61, 78%, 49%)
CMYKcmyk(0.8%, 0%, 78.2%, 51.4%)
CIE-LABlab(50.34, -12.35, 48.87)
CIE-LCHlch(50.34, 50.40, 104.18°)
OKLaboklab(56.77% -0.0393 0.107)
OKLCHoklch(56.77% 0.114 110.1)
XYZxyz(15.5744, 18.7058, 3.8269)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7C1B #1C1B7C
analogous
#7C4D1B #7B7C1B #4A7C1B
triadic
#7B7C1B #1B7B7C #7C1B7B
tetradic
#7B7C1B #1B7C4D #1C1B7C #7C1B4A
square
#7B7C1B #1B7C4D #1C1B7C #7C1B4A
split-complementary
#7B7C1B #1B4A7C #4D1B7C
monochromatic
#191905 #494A10 #7B7C1B #ADAE26 #D3D53D

Accessibility & contrast

On white

4.43
#7B7C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7B7C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7C1B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7C1B#FFFFFF#000000##000000
##7B7C1B1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867604
Deuteranopia (green-blind)
#877923
Tritanopia (blue-blind)
#84746A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b7c1b;
/* rgb */ color: rgb(123, 124, 27);
/* oklch */ color: oklch(56.8% 0.114 110.1);
Tailwind
colors: {
  custom: {
    50: '#a4a160',
    500: '#7b7c1b',
    950: '#000000',
  },
}
SCSS
$custom: #7b7c1b;
$custom-light: #a4a160;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7c1b",
  "rgb": {
    "r": 123,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 60.619,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56767,
    "c": 0.11398,
    "h": 110.1
  },
  "luminance": 0.18705
}

Semantic roles & 50–950 ramp

primary
#7B7C1B
secondary
#4443B0
accent
#41E742
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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