#7B7C38#7B7C38

#7B7C38 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.091 H 109.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7B7C38
RGBrgb(123, 124, 56)
HSLhsl(61, 38%, 35%)
HSVhsv(61, 55%, 49%)
CMYKcmyk(0.8%, 0%, 54.8%, 51.4%)
CIE-LABlab(50.58, -10.41, 36.46)
CIE-LCHlch(50.58, 37.92, 105.93°)
OKLaboklab(57.04% -0.0306 0.0854)
OKLCHoklch(57.04% 0.091 109.7)
XYZxyz(16.0902, 18.9122, 6.5434)
Luminance0.1891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7C38 #39387C
analogous
#7C5B38 #7B7C38 #597C38
triadic
#7B7C38 #387B7C #7C387B
tetradic
#7B7C38 #387C5B #39387C #7C3859
square
#7B7C38 #387C5B #39387C #7C3859
split-complementary
#7B7C38 #38597C #5B387C
monochromatic
#272812 #515225 #7B7C38 #A5A64B #BDBE70

Accessibility & contrast

On white

4.39
#7B7C38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7B7C38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7C38
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7C38#FFFFFF#000000##000000
##7B7C381.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#857731
Deuteranopia (green-blind)
#86793C
Tritanopia (blue-blind)
#83756D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b7c38;
/* rgb */ color: rgb(123, 124, 56);
/* oklch */ color: oklch(57.0% 0.091 109.7);
Tailwind
colors: {
  custom: {
    50: '#a3a171',
    500: '#7b7c38',
    950: '#000000',
  },
}
SCSS
$custom: #7b7c38;
$custom-light: #a3a171;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7c38",
  "rgb": {
    "r": 123,
    "g": 124,
    "b": 56
  },
  "hsl": {
    "h": 60.882,
    "s": 37.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57039,
    "c": 0.09068,
    "h": 109.7
  },
  "luminance": 0.18912
}

Semantic roles & 50–950 ramp

primary
#7B7C38
secondary
#6968A7
accent
#5ACE5C
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0F08
muted
#7F7E7B

Preview Lab

Preview with #7B7C38

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

Preview Lab → · Contrast checker → · Palette generator →

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