#788310#788310

#788310 is a mid, vivid yellow. Relative luminance 0.203; OKLCH L 58.1% C 0.128 H 115.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#788310
RGBrgb(120, 131, 16)
HSLhsl(66, 78%, 29%)
HSVhsv(66, 88%, 51%)
CMYKcmyk(8.4%, 0%, 87.8%, 48.6%)
CIE-LABlab(52.13, -17.86, 53.51)
CIE-LCHlch(52.13, 56.41, 108.45°)
OKLaboklab(58.13% -0.0552 0.1151)
OKLCHoklch(58.13% 0.128 115.6)
XYZxyz(15.9560, 20.2634, 3.5608)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788310 #1B1083
analogous
#835510 #788310 #3F8310
triadic
#788310 #107883 #831078
tetradic
#788310 #108355 #1B1083 #83103F
square
#788310 #108355 #1B1083 #83103F
split-complementary
#788310 #103F83 #551083
monochromatic
#191B03 #464C09 #788310 #AABA17 #D3E529

Accessibility & contrast

On white

4.16
#788310 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#788310 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788310
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788310#FFFFFF#000000##000000
##7883101.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8C7D1D
Tritanopia (blue-blind)
#807B6F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #788310;
/* rgb */ color: rgb(120, 131, 16);
/* oklch */ color: oklch(58.1% 0.128 115.6);
Tailwind
colors: {
  custom: {
    50: '#a3a65d',
    500: '#788310',
    950: '#000000',
  },
}
SCSS
$custom: #788310;
$custom-light: #a3a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#788310",
  "rgb": {
    "r": 120,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 65.739,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.58127,
    "c": 0.12761,
    "h": 115.6
  },
  "luminance": 0.20263
}

Semantic roles & 50–950 ramp

primary
#788310
secondary
#4336B9
accent
#33F546
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #788310

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

Preview Lab → · Contrast checker → · Palette generator →

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