#7B7618#7B7618

#7B7618 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.3% C 0.109 H 106.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7B7618
RGBrgb(123, 118, 24)
HSLhsl(57, 67%, 29%)
HSVhsv(57, 80%, 48%)
CMYKcmyk(0%, 4.1%, 80.5%, 51.8%)
CIE-LABlab(48.55, -9.18, 48.26)
CIE-LCHlch(48.55, 49.12, 100.77°)
OKLaboklab(55.34% -0.0307 0.1051)
OKLCHoklch(55.34% 0.109 106.3)
XYZxyz(14.8123, 17.2343, 3.4103)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7618 #181D7B
analogous
#7B4518 #7B7618 #4F7B18
triadic
#7B7618 #187B76 #76187B
tetradic
#7B7618 #187B45 #181D7B #7B184F
square
#7B7618 #187B45 #181D7B #7B184F
split-complementary
#7B7618 #184F7B #45187B
monochromatic
#1A1905 #48450E #7B7618 #AEA722 #D8D036

Accessibility & contrast

On white

4.72
#7B7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7B7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7618
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7618#FFFFFF#000000##FFFFFF
##7B76181.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#837520
Tritanopia (blue-blind)
#856E65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b7618;
/* rgb */ color: rgb(123, 118, 24);
/* oklch */ color: oklch(55.3% 0.109 106.3);
Tailwind
colors: {
  custom: {
    50: '#a59d5e',
    500: '#7b7618',
    950: '#000000',
  },
}
SCSS
$custom: #7b7618;
$custom-light: #a59d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7618",
  "rgb": {
    "r": 123,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 56.97,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55336,
    "c": 0.10949,
    "h": 106.3
  },
  "luminance": 0.17234
}

Semantic roles & 50–950 ramp

primary
#7B7618
secondary
#3F45B0
accent
#46EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7618

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

Preview Lab → · Contrast checker → · Palette generator →

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