#787E10#787E10

#787E10 is a mid, vivid yellow. Relative luminance 0.190; OKLCH L 56.9% C 0.122 H 113.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#787E10
RGBrgb(120, 126, 16)
HSLhsl(63, 77%, 28%)
HSVhsv(63, 87%, 49%)
CMYKcmyk(4.8%, 0%, 87.3%, 50.6%)
CIE-LABlab(50.63, -15.21, 52.26)
CIE-LCHlch(50.63, 54.43, 106.23°)
OKLaboklab(56.92% -0.0479 0.1124)
OKLCHoklch(56.92% 0.122 113.1)
XYZxyz(15.3006, 18.9525, 3.3423)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E10 #16107E
analogous
#7E4D10 #787E10 #417E10
triadic
#787E10 #10787E #7E1078
tetradic
#787E10 #107E4D #16107E #7E1041
square
#787E10 #107E4D #16107E #7E1041
split-complementary
#787E10 #10417E #4D107E
monochromatic
#1A1B03 #444809 #787E10 #ACB417 #D9E325

Accessibility & contrast

On white

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

On black

4.79
#787E10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E10
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E10#FFFFFF#000000##000000
##787E101.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #787e10;
/* rgb */ color: rgb(120, 126, 16);
/* oklch */ color: oklch(56.9% 0.122 113.1);
Tailwind
colors: {
  custom: {
    50: '#a3a35c',
    500: '#787e10',
    950: '#000000',
  },
}
SCSS
$custom: #787e10;
$custom-light: #a3a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#787e10",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 16
  },
  "hsl": {
    "h": 63.273,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.56921,
    "c": 0.12213,
    "h": 113.1
  },
  "luminance": 0.18952
}

Semantic roles & 50–950 ramp

primary
#787E10
secondary
#3C36B4
accent
#34F43E
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #787E10

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

Preview Lab → · Contrast checker → · Palette generator →

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