#7B7923#7B7923

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

Color values

HEX#7B7923
RGBrgb(123, 121, 35)
HSLhsl(59, 56%, 31%)
HSVhsv(59, 72%, 48%)
CMYKcmyk(0%, 1.6%, 71.5%, 51.8%)
CIE-LABlab(49.51, -10.30, 45.05)
CIE-LCHlch(49.51, 46.21, 102.88°)
OKLaboklab(56.12% -0.0327 0.1005)
OKLCHoklch(56.12% 0.106 108)
XYZxyz(15.3097, 18.0075, 4.2591)
Luminance0.1801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7923 #23257B
analogous
#7B4D23 #7B7923 #517B23
triadic
#7B7923 #237B79 #79237B
tetradic
#7B7923 #237B4D #23257B #7B2351
square
#7B7923 #237B4D #23257B #7B2351
split-complementary
#7B7923 #23517B #4D237B
monochromatic
#1C1B08 #4B4A15 #7B7923 #ABA831 #CCC94C

Accessibility & contrast

On white

4.56
#7B7923 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B7923#FFFFFF#000000##000000
##7B79231.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b7923;
/* rgb */ color: rgb(123, 121, 35);
/* oklch */ color: oklch(56.1% 0.106 108.0);
Tailwind
colors: {
  custom: {
    50: '#a49f64',
    500: '#7b7923',
    950: '#000000',
  },
}
SCSS
$custom: #7b7923;
$custom-light: #a49f64;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7923",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 35
  },
  "hsl": {
    "h": 58.636,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56116,
    "c": 0.10566,
    "h": 108
  },
  "luminance": 0.18007
}

Semantic roles & 50–950 ramp

primary
#7B7923
secondary
#4C4EAE
accent
#4CDF49
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7B7923

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

Preview Lab → · Contrast checker → · Palette generator →

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