#78831A#78831A

#78831A is a mid, vivid yellow. Relative luminance 0.203; OKLCH L 58.2% C 0.123 H 115.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#78831A
RGBrgb(120, 131, 26)
HSLhsl(66, 67%, 31%)
HSVhsv(66, 80%, 51%)
CMYKcmyk(8.4%, 0%, 80.2%, 48.6%)
CIE-LABlab(52.18, -17.50, 50.78)
CIE-LCHlch(52.18, 53.71, 109.02°)
OKLaboklab(58.17% -0.0535 0.111)
OKLCHoklch(58.17% 0.123 115.7)
XYZxyz(16.0489, 20.3005, 4.0500)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78831A #251A83
analogous
#83591A #78831A #43831A
triadic
#78831A #1A7883 #831A78
tetradic
#78831A #1A8359 #251A83 #831A43
square
#78831A #1A8359 #251A83 #831A43
split-complementary
#78831A #1A4383 #591A83
monochromatic
#1A1D06 #495010 #78831A #A7B624 #C9D93F

Accessibility & contrast

On white

4.15
#78831A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#78831A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78831A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78831A#FFFFFF#000000##000000
##78831A1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78831a;
/* rgb */ color: rgb(120, 131, 26);
/* oklch */ color: oklch(58.2% 0.123 115.7);
Tailwind
colors: {
  custom: {
    50: '#a2a661',
    500: '#78831a',
    950: '#000000',
  },
}
SCSS
$custom: #78831a;
$custom-light: #a2a661;
$custom-dark: #000000;
JSON
{
  "hex": "#78831a",
  "rgb": {
    "r": 120,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 66.286,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58173,
    "c": 0.12321,
    "h": 115.7
  },
  "luminance": 0.203
}

Semantic roles & 50–950 ramp

primary
#78831A
secondary
#4E42B7
accent
#3EEA50
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #78831A

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

Preview Lab → · Contrast checker → · Palette generator →

#78831A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva