#7B7932#7B7932

#7B7932 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.3% C 0.093 H 107.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7B7932
RGBrgb(123, 121, 50)
HSLhsl(58, 42%, 34%)
HSVhsv(58, 59%, 48%)
CMYKcmyk(0%, 1.6%, 59.3%, 51.8%)
CIE-LABlab(49.64, -9.27, 38.38)
CIE-LCHlch(49.64, 39.48, 103.57°)
OKLaboklab(56.26% -0.0281 0.0887)
OKLCHoklch(56.26% 0.093 107.5)
XYZxyz(15.5819, 18.1164, 5.6930)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7932 #32347B
analogous
#7B5532 #7B7932 #597B32
triadic
#7B7932 #327B79 #79327B
tetradic
#7B7932 #327B55 #32347B #7B3259
square
#7B7932 #327B55 #32347B #7B3259
split-complementary
#7B7932 #32597B #55327B
monochromatic
#24230F #4F4E20 #7B7932 #A7A444 #C1BE66

Accessibility & contrast

On white

4.54
#7B7932 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7B7932 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7932
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7932#FFFFFF#000000##000000
##7B79321.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82742A
Deuteranopia (green-blind)
#847736
Tritanopia (blue-blind)
#83726A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b7932;
/* rgb */ color: rgb(123, 121, 50);
/* oklch */ color: oklch(56.3% 0.093 107.5);
Tailwind
colors: {
  custom: {
    50: '#a39f6d',
    500: '#7b7932',
    950: '#000000',
  },
}
SCSS
$custom: #7b7932;
$custom-light: #a39f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7932",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 50
  },
  "hsl": {
    "h": 58.356,
    "s": 42.197,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56263,
    "c": 0.09307,
    "h": 107.5
  },
  "luminance": 0.18116
}

Semantic roles & 50–950 ramp

primary
#7B7932
secondary
#6062A9
accent
#59D256
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7B7932

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

Preview Lab → · Contrast checker → · Palette generator →

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