#7B7922#7B7922

#7B7922 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.1% C 0.106 H 108.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7B7922
RGBrgb(123, 121, 34)
HSLhsl(59, 57%, 31%)
HSVhsv(59, 72%, 48%)
CMYKcmyk(0%, 1.6%, 72.4%, 51.8%)
CIE-LABlab(49.50, -10.36, 45.45)
CIE-LCHlch(49.50, 46.61, 102.84°)
OKLaboklab(56.11% -0.033 0.1011)
OKLCHoklch(56.11% 0.106 108.1)
XYZxyz(15.2950, 18.0017, 4.1821)
Luminance0.1800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7922 #22247B
analogous
#7B4C22 #7B7922 #507B22
triadic
#7B7922 #227B79 #79227B
tetradic
#7B7922 #227B4C #22247B #7B2250
square
#7B7922 #227B4C #22247B #7B2250
split-complementary
#7B7922 #22507B #4C227B
monochromatic
#1B1B07 #4B4A15 #7B7922 #ABA82F #CDCA4A

Accessibility & contrast

On white

4.57
#7B7922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7B7922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7922
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7922#FFFFFF#000000##000000
##7B79221.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#837414
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#847168
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b7922;
/* rgb */ color: rgb(123, 121, 34);
/* oklch */ color: oklch(56.1% 0.106 108.1);
Tailwind
colors: {
  custom: {
    50: '#a49f63',
    500: '#7b7922',
    950: '#000000',
  },
}
SCSS
$custom: #7b7922;
$custom-light: #a49f63;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7922",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 58.652,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56108,
    "c": 0.10637,
    "h": 108.1
  },
  "luminance": 0.18001
}

Semantic roles & 50–950 ramp

primary
#7B7922
secondary
#4B4DAE
accent
#4BE048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7B7922

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

Preview Lab → · Contrast checker → · Palette generator →

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