#7B7718#7B7718

#7B7718 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.6% C 0.110 H 107.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7B7718
RGBrgb(123, 119, 24)
HSLhsl(58, 67%, 29%)
HSVhsv(58, 80%, 48%)
CMYKcmyk(0%, 3.3%, 80.5%, 51.8%)
CIE-LABlab(48.85, -9.73, 48.52)
CIE-LCHlch(48.85, 49.49, 101.34°)
OKLaboklab(55.57% -0.0322 0.1057)
OKLCHoklch(55.57% 0.11 107)
XYZxyz(14.9307, 17.4711, 3.4498)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7718 #181C7B
analogous
#7B4618 #7B7718 #4E7B18
triadic
#7B7718 #187B77 #77187B
tetradic
#7B7718 #187B46 #181C7B #7B184E
square
#7B7718 #187B46 #181C7B #7B184E
split-complementary
#7B7718 #184E7B #46187B
monochromatic
#1A1905 #48450E #7B7718 #AEA922 #D8D136

Accessibility & contrast

On white

4.67
#7B7718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7B7718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7718
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7718#FFFFFF#000000##FFFFFF
##7B77181.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#847620
Tritanopia (blue-blind)
#856F65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b7718;
/* rgb */ color: rgb(123, 119, 24);
/* oklch */ color: oklch(55.6% 0.110 107.0);
Tailwind
colors: {
  custom: {
    50: '#a59d5e',
    500: '#7b7718',
    950: '#000000',
  },
}
SCSS
$custom: #7b7718;
$custom-light: #a59d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7718",
  "rgb": {
    "r": 123,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 57.576,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5557,
    "c": 0.11048,
    "h": 107
  },
  "luminance": 0.17471
}

Semantic roles & 50–950 ramp

primary
#7B7718
secondary
#3F44B0
accent
#45EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7718

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

Preview Lab → · Contrast checker → · Palette generator →

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