#7B7918#7B7918

#7B7918 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.0% C 0.112 H 108.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7B7918
RGBrgb(123, 121, 24)
HSLhsl(59, 67%, 29%)
HSVhsv(59, 80%, 48%)
CMYKcmyk(0%, 1.6%, 80.5%, 51.8%)
CIE-LABlab(49.44, -10.84, 49.05)
CIE-LCHlch(49.44, 50.23, 102.46°)
OKLaboklab(56.04% -0.0353 0.1068)
OKLCHoklch(56.04% 0.112 108.3)
XYZxyz(15.1712, 17.9522, 3.5299)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7918 #181A7B
analogous
#7B4818 #7B7918 #4C7B18
triadic
#7B7918 #187B79 #79187B
tetradic
#7B7918 #187B48 #181A7B #7B184C
square
#7B7918 #187B48 #181A7B #7B184C
split-complementary
#7B7918 #184C7B #48187B
monochromatic
#1A1905 #48470E #7B7918 #AEAB22 #D8D436

Accessibility & contrast

On white

4.57
#7B7918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7B7918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7918
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7918#FFFFFF#000000##000000
##7B79181.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#857720
Tritanopia (blue-blind)
#847167
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b7918;
/* rgb */ color: rgb(123, 121, 24);
/* oklch */ color: oklch(56.0% 0.112 108.3);
Tailwind
colors: {
  custom: {
    50: '#a49f5e',
    500: '#7b7918',
    950: '#000000',
  },
}
SCSS
$custom: #7b7918;
$custom-light: #a49f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7918",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 58.788,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56041,
    "c": 0.11249,
    "h": 108.3
  },
  "luminance": 0.17952
}

Semantic roles & 50–950 ramp

primary
#7B7918
secondary
#3F41B0
accent
#41EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7918

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

Preview Lab → · Contrast checker → · Palette generator →

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