#7B7331#7B7331

#7B7331 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.087 H 102.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7B7331
RGBrgb(123, 115, 49)
HSLhsl(54, 43%, 34%)
HSVhsv(54, 60%, 48%)
CMYKcmyk(0%, 6.5%, 60.2%, 51.8%)
CIE-LABlab(47.87, -5.99, 36.89)
CIE-LCHlch(47.87, 37.38, 99.23°)
OKLaboklab(54.86% -0.0188 0.0854)
OKLCHoklch(54.86% 0.087 102.4)
XYZxyz(14.8540, 16.6947, 5.3451)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7331 #31397B
analogous
#7B4E31 #7B7331 #5E7B31
triadic
#7B7331 #317B73 #73317B
tetradic
#7B7331 #317B4E #31397B #7B315E
square
#7B7331 #317B4E #31397B #7B315E
split-complementary
#7B7331 #315E7B #4E317B
monochromatic
#23210E #4F4A20 #7B7331 #A79C42 #C2B865

Accessibility & contrast

On white

4.84
#7B7331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7B7331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7331
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7331#FFFFFF#000000##FFFFFF
##7B73311.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D702A
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#846C65
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b7331;
/* rgb */ color: rgb(123, 115, 49);
/* oklch */ color: oklch(54.9% 0.087 102.4);
Tailwind
colors: {
  custom: {
    50: '#a39b6c',
    500: '#7b7331',
    950: '#000000',
  },
}
SCSS
$custom: #7b7331;
$custom-light: #a39b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7331",
  "rgb": {
    "r": 123,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 53.514,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54857,
    "c": 0.08748,
    "h": 102.4
  },
  "luminance": 0.16694
}

Semantic roles & 50–950 ramp

primary
#7B7331
secondary
#5F67A9
accent
#63D355
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7B7331

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

Preview Lab → · Contrast checker → · Palette generator →

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