#787E19#787E19

#787E19 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.0% C 0.118 H 113.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#787E19
RGBrgb(120, 126, 25)
HSLhsl(64, 67%, 30%)
HSVhsv(64, 80%, 49%)
CMYKcmyk(4.8%, 0%, 80.2%, 50.6%)
CIE-LABlab(50.67, -14.89, 49.74)
CIE-LCHlch(50.67, 51.92, 106.67°)
OKLaboklab(56.96% -0.0463 0.1086)
OKLCHoklch(56.96% 0.118 113.1)
XYZxyz(15.3826, 18.9853, 3.7737)
Luminance0.1898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E19 #1F197E
analogous
#7E5119 #787E19 #467E19
triadic
#787E19 #19787E #7E1978
tetradic
#787E19 #197E51 #1F197E #7E1946
square
#787E19 #197E51 #1F197E #7E1946
split-complementary
#787E19 #19467E #51197E
monochromatic
#181A05 #474B0F #787E19 #A9B123 #CED83A

Accessibility & contrast

On white

4.38
#787E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#787E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E19
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E19#FFFFFF#000000##000000
##787E191.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#887A22
Tritanopia (blue-blind)
#81766B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #787e19;
/* rgb */ color: rgb(120, 126, 25);
/* oklch */ color: oklch(57.0% 0.118 113.1);
Tailwind
colors: {
  custom: {
    50: '#a2a360',
    500: '#787e19',
    950: '#000000',
  },
}
SCSS
$custom: #787e19;
$custom-light: #a2a360;
$custom-dark: #000000;
JSON
{
  "hex": "#787e19",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 63.564,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56964,
    "c": 0.11807,
    "h": 113.1
  },
  "luminance": 0.18985
}

Semantic roles & 50–950 ramp

primary
#787E19
secondary
#4741B2
accent
#3EEA48
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #787E19

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

Preview Lab → · Contrast checker → · Palette generator →

#787E19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva