#7B7818#7B7818

#7B7818 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.111 H 107.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7B7818
RGBrgb(123, 120, 24)
HSLhsl(58, 67%, 29%)
HSVhsv(58, 80%, 48%)
CMYKcmyk(0%, 2.4%, 80.5%, 51.8%)
CIE-LABlab(49.14, -10.29, 48.79)
CIE-LCHlch(49.14, 49.86, 101.91°)
OKLaboklab(55.81% -0.0338 0.1062)
OKLCHoklch(55.81% 0.111 107.6)
XYZxyz(15.0503, 17.7104, 3.4896)
Luminance0.1771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7818 #181B7B
analogous
#7B4718 #7B7818 #4D7B18
triadic
#7B7818 #187B78 #78187B
tetradic
#7B7818 #187B47 #181B7B #7B184D
square
#7B7818 #187B47 #181B7B #7B184D
split-complementary
#7B7818 #184D7B #47187B
monochromatic
#1A1905 #48460E #7B7818 #AEAA22 #D8D336

Accessibility & contrast

On white

4.62
#7B7818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7B7818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7818
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7818#FFFFFF#000000##FFFFFF
##7B78181.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#847620
Tritanopia (blue-blind)
#847066
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b7818;
/* rgb */ color: rgb(123, 120, 24);
/* oklch */ color: oklch(55.8% 0.111 107.6);
Tailwind
colors: {
  custom: {
    50: '#a49e5e',
    500: '#7b7818',
    950: '#000000',
  },
}
SCSS
$custom: #7b7818;
$custom-light: #a49e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7818",
  "rgb": {
    "r": 123,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 58.182,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55805,
    "c": 0.11148,
    "h": 107.6
  },
  "luminance": 0.1771
}

Semantic roles & 50–950 ramp

primary
#7B7818
secondary
#3F43B0
accent
#43EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7818

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

Preview Lab → · Contrast checker → · Palette generator →

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