#7B7145#7B7145

#7B7145 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.7% C 0.063 H 96.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7B7145
RGBrgb(123, 113, 69)
HSLhsl(49, 28%, 38%)
HSVhsv(49, 44%, 48%)
CMYKcmyk(0%, 8.1%, 43.9%, 51.8%)
CIE-LABlab(47.56, -2.88, 25.80)
CIE-LCHlch(47.56, 25.96, 96.38°)
OKLaboklab(54.7% -0.0076 0.0629)
OKLCHoklch(54.7% 0.063 96.9)
XYZxyz(15.1480, 16.4514, 8.0066)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7145 #454F7B
analogous
#7B5645 #7B7145 #6A7B45
triadic
#7B7145 #457B71 #71457B
tetradic
#7B7145 #457B56 #454F7B #7B456A
square
#7B7145 #457B56 #454F7B #7B456A
split-complementary
#7B7145 #456A7B #56457B
monochromatic
#2D2919 #544D2F #7B7145 #A2955B #B9AF82

Accessibility & contrast

On white

4.89
#7B7145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7B7145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7145
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7145#FFFFFF#000000##FFFFFF
##7B71451.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F42
Deuteranopia (green-blind)
#7C7247
Tritanopia (blue-blind)
#836B66
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b7145;
/* rgb */ color: rgb(123, 113, 69);
/* oklch */ color: oklch(54.7% 0.063 96.9);
Tailwind
colors: {
  custom: {
    50: '#a29979',
    500: '#7b7145',
    950: '#000000',
  },
}
SCSS
$custom: #7b7145;
$custom-light: #a29979;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7145",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 69
  },
  "hsl": {
    "h": 48.889,
    "s": 28.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.54696,
    "c": 0.06331,
    "h": 96.9
  },
  "luminance": 0.16451
}

Semantic roles & 50–950 ramp

primary
#7B7145
secondary
#7880A4
accent
#75C463
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #7B7145

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

Preview Lab → · Contrast checker → · Palette generator →

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