#7B7D1B#7B7D1B

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

Color values

HEX#7B7D1B
RGBrgb(123, 125, 27)
HSLhsl(61, 64%, 30%)
HSVhsv(61, 78%, 49%)
CMYKcmyk(1.6%, 0%, 78.4%, 51%)
CIE-LABlab(50.64, -12.89, 49.14)
CIE-LCHlch(50.64, 50.80, 104.70°)
OKLaboklab(57% -0.0408 0.1076)
OKLCHoklch(57% 0.115 110.8)
XYZxyz(15.7004, 18.9578, 3.8689)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7D1B #1D1B7D
analogous
#7D4E1B #7B7D1B #4A7D1B
triadic
#7B7D1B #1B7B7D #7D1B7B
tetradic
#7B7D1B #1B7D4E #1D1B7D #7D1B4A
square
#7B7D1B #1B7D4E #1D1B7D #7D1B4A
split-complementary
#7B7D1B #1B4A7D #4E1B7D
monochromatic
#191905 #494B10 #7B7D1B #ADAF26 #D2D53D

Accessibility & contrast

On white

4.38
#7B7D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B7D1B#FFFFFF#000000##000000
##7B7D1B1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877703
Deuteranopia (green-blind)
#887A23
Tritanopia (blue-blind)
#84756B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b7d1b;
/* rgb */ color: rgb(123, 125, 27);
/* oklch */ color: oklch(57.0% 0.115 110.8);
Tailwind
colors: {
  custom: {
    50: '#a4a260',
    500: '#7b7d1b',
    950: '#000000',
  },
}
SCSS
$custom: #7b7d1b;
$custom-light: #a4a260;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7d1b",
  "rgb": {
    "r": 123,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 61.224,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.57004,
    "c": 0.11506,
    "h": 110.8
  },
  "luminance": 0.18957
}

Semantic roles & 50–950 ramp

primary
#7B7D1B
secondary
#4543B1
accent
#40E744
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7B7D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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