#7B7342#7B7342

#7B7342 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.1% C 0.069 H 100.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7B7342
RGBrgb(123, 115, 66)
HSLhsl(52, 30%, 37%)
HSVhsv(52, 46%, 48%)
CMYKcmyk(0%, 6.5%, 46.3%, 51.8%)
CIE-LABlab(48.09, -4.37, 28.14)
CIE-LCHlch(48.09, 28.48, 98.82°)
OKLaboklab(55.1% -0.0122 0.068)
OKLCHoklch(55.1% 0.069 100.2)
XYZxyz(15.2828, 16.8663, 7.6037)
Luminance0.1687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7342 #424A7B
analogous
#7B5742 #7B7342 #677B42
triadic
#7B7342 #427B73 #73427B
tetradic
#7B7342 #427B57 #424A7B #7B4267
square
#7B7342 #427B57 #424A7B #7B4267
split-complementary
#7B7342 #42677B #57427B
monochromatic
#2B2917 #534E2D #7B7342 #A39857 #BAB17E

Accessibility & contrast

On white

4.80
#7B7342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7B7342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7342
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7342#FFFFFF#000000##FFFFFF
##7B73421.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703E
Deuteranopia (green-blind)
#7E7444
Tritanopia (blue-blind)
#836D67
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b7342;
/* rgb */ color: rgb(123, 115, 66);
/* oklch */ color: oklch(55.1% 0.069 100.2);
Tailwind
colors: {
  custom: {
    50: '#a29b77',
    500: '#7b7342',
    950: '#000000',
  },
}
SCSS
$custom: #7b7342;
$custom-light: #a29b77;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7342",
  "rgb": {
    "r": 123,
    "g": 115,
    "b": 66
  },
  "hsl": {
    "h": 51.579,
    "s": 30.159,
    "l": 37.059
  },
  "oklch": {
    "l": 0.551,
    "c": 0.06905,
    "h": 100.2
  },
  "luminance": 0.16866
}

Semantic roles & 50–950 ramp

primary
#7B7342
secondary
#747BA5
accent
#70C661
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #7B7342

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

Preview Lab → · Contrast checker → · Palette generator →

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