#787145#787145

#787145 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.4% C 0.063 H 100.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#787145
RGBrgb(120, 113, 69)
HSLhsl(52, 27%, 37%)
HSVhsv(52, 43%, 47%)
CMYKcmyk(0%, 5.8%, 42.5%, 52.9%)
CIE-LABlab(47.28, -4.21, 25.38)
CIE-LCHlch(47.28, 25.73, 99.43°)
OKLaboklab(54.41% -0.0113 0.0619)
OKLCHoklch(54.41% 0.063 100.3)
XYZxyz(14.7253, 16.2334, 7.9868)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787145 #454C78
analogous
#785845 #787145 #667845
triadic
#787145 #457871 #714578
tetradic
#787145 #457858 #454C78 #784566
square
#787145 #457858 #454C78 #784566
split-complementary
#787145 #456678 #584578
monochromatic
#2A2818 #514C2F #787145 #9F965B #B6AF81

Accessibility & contrast

On white

4.95
#787145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#787145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787145
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787145#FFFFFF#000000##FFFFFF
##7871451.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E42
Deuteranopia (green-blind)
#7B7147
Tritanopia (blue-blind)
#7F6B66
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #787145;
/* rgb */ color: rgb(120, 113, 69);
/* oklch */ color: oklch(54.4% 0.063 100.3);
Tailwind
colors: {
  custom: {
    50: '#a09979',
    500: '#787145',
    950: '#000000',
  },
}
SCSS
$custom: #787145;
$custom-light: #a09979;
$custom-dark: #000000;
JSON
{
  "hex": "#787145",
  "rgb": {
    "r": 120,
    "g": 113,
    "b": 69
  },
  "hsl": {
    "h": 51.765,
    "s": 26.984,
    "l": 37.059
  },
  "oklch": {
    "l": 0.54405,
    "c": 0.06295,
    "h": 100.3
  },
  "luminance": 0.16233
}

Semantic roles & 50–950 ramp

primary
#787145
secondary
#777DA2
accent
#71C364
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0E09
muted
#7E7E7B

Preview Lab

Preview with #787145

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

Preview Lab → · Contrast checker → · Palette generator →

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