#7B7945#7B7945

#7B7945 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.5% C 0.072 H 106.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7B7945
RGBrgb(123, 121, 69)
HSLhsl(58, 28%, 38%)
HSVhsv(58, 44%, 48%)
CMYKcmyk(0%, 1.6%, 43.9%, 51.8%)
CIE-LABlab(49.88, -7.41, 28.72)
CIE-LCHlch(49.88, 29.66, 104.48°)
OKLaboklab(56.53% -0.0207 0.0695)
OKLCHoklch(56.53% 0.072 106.6)
XYZxyz(16.0802, 18.3158, 8.3173)
Luminance0.1832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7945 #45477B
analogous
#7B5E45 #7B7945 #627B45
triadic
#7B7945 #457B79 #79457B
tetradic
#7B7945 #457B5E #45477B #7B4562
square
#7B7945 #457B5E #45477B #7B4562
split-complementary
#7B7945 #45627B #5E457B
monochromatic
#2D2C19 #54522F #7B7945 #A2A05B #B9B782

Accessibility & contrast

On white

4.50
#7B7945 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7B7945 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7945
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7945#FFFFFF#000000##000000
##7B79451.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#817541
Deuteranopia (green-blind)
#827847
Tritanopia (blue-blind)
#82736C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b7945;
/* rgb */ color: rgb(123, 121, 69);
/* oklch */ color: oklch(56.5% 0.072 106.6);
Tailwind
colors: {
  custom: {
    50: '#a29f79',
    500: '#7b7945',
    950: '#000000',
  },
}
SCSS
$custom: #7b7945;
$custom-light: #a29f79;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7945",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 69
  },
  "hsl": {
    "h": 57.778,
    "s": 28.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.56532,
    "c": 0.07247,
    "h": 106.6
  },
  "luminance": 0.18315
}

Semantic roles & 50–950 ramp

primary
#7B7945
secondary
#7879A4
accent
#67C463
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #7B7945

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

Preview Lab → · Contrast checker → · Palette generator →

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