#787618#787618

#787618 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.1% C 0.110 H 108.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#787618
RGBrgb(120, 118, 24)
HSLhsl(59, 67%, 28%)
HSVhsv(59, 80%, 47%)
CMYKcmyk(0%, 1.7%, 80%, 52.9%)
CIE-LABlab(48.28, -10.59, 47.91)
CIE-LCHlch(48.28, 49.06, 102.46°)
OKLaboklab(55.05% -0.0345 0.1045)
OKLCHoklch(55.05% 0.11 108.3)
XYZxyz(14.3896, 17.0164, 3.3905)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787618 #181A78
analogous
#784618 #787618 #4A7818
triadic
#787618 #187876 #761878
tetradic
#787618 #187846 #181A78 #78184A
square
#787618 #187846 #181A78 #78184A
split-complementary
#787618 #184A78 #461878
monochromatic
#1A1905 #45440E #787618 #ABA822 #D6D334

Accessibility & contrast

On white

4.77
#787618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#787618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787618
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787618#FFFFFF#000000##FFFFFF
##7876181.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807101
Deuteranopia (green-blind)
#827420
Tritanopia (blue-blind)
#816E65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #787618;
/* rgb */ color: rgb(120, 118, 24);
/* oklch */ color: oklch(55.1% 0.110 108.3);
Tailwind
colors: {
  custom: {
    50: '#a29d5e',
    500: '#787618',
    950: '#000000',
  },
}
SCSS
$custom: #787618;
$custom-light: #a29d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#787618",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 58.75,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55052,
    "c": 0.11003,
    "h": 108.3
  },
  "luminance": 0.17016
}

Semantic roles & 50–950 ramp

primary
#787618
secondary
#3F41AD
accent
#42EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #787618

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

Preview Lab → · Contrast checker → · Palette generator →

#787618 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva