#778331#778331

#778331 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.3% C 0.107 H 116.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#778331
RGBrgb(119, 131, 49)
HSLhsl(69, 46%, 35%)
HSVhsv(69, 63%, 51%)
CMYKcmyk(9.2%, 0%, 62.6%, 48.6%)
CIE-LABlab(52.26, -16.55, 41.66)
CIE-LCHlch(52.26, 44.83, 111.67°)
OKLaboklab(58.27% -0.0485 0.0957)
OKLCHoklch(58.27% 0.107 116.9)
XYZxyz(16.2787, 20.3765, 5.9806)
Luminance0.2038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778331 #3D3183
analogous
#836631 #778331 #4E8331
triadic
#778331 #317783 #833177
tetradic
#778331 #318366 #3D3183 #83314E
square
#778331 #318366 #3D3183 #83314E
split-complementary
#778331 #314E83 #663183
monochromatic
#262A10 #4F5620 #778331 #9FB042 #B9C668

Accessibility & contrast

On white

4.14
#778331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#778331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778331
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778331#FFFFFF#000000##000000
##7783311.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C27
Deuteranopia (green-blind)
#8A7D36
Tritanopia (blue-blind)
#7E7C72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #778331;
/* rgb */ color: rgb(119, 131, 49);
/* oklch */ color: oklch(58.3% 0.107 116.9);
Tailwind
colors: {
  custom: {
    50: '#a0a76d',
    500: '#778331',
    950: '#000000',
  },
}
SCSS
$custom: #778331;
$custom-light: #a0a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#778331",
  "rgb": {
    "r": 119,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 68.78,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58274,
    "c": 0.10727,
    "h": 116.9
  },
  "luminance": 0.20376
}

Semantic roles & 50–950 ramp

primary
#778331
secondary
#6D62AE
accent
#53D566
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #778331

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

Preview Lab → · Contrast checker → · Palette generator →

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