#778135#778135

#778135 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 57.8% C 0.101 H 115.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#778135
RGBrgb(119, 129, 53)
HSLhsl(68, 42%, 36%)
HSVhsv(68, 59%, 51%)
CMYKcmyk(7.8%, 0%, 58.9%, 49.4%)
CIE-LABlab(51.70, -15.16, 39.14)
CIE-LCHlch(51.70, 41.97, 111.17°)
OKLaboklab(57.84% -0.0441 0.0908)
OKLCHoklch(57.84% 0.101 115.9)
XYZxyz(16.1009, 19.8797, 6.3564)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778135 #3F3581
analogous
#816535 #778135 #518135
triadic
#778135 #357781 #813577
tetradic
#778135 #358165 #3F3581 #813551
square
#778135 #358165 #3F3581 #813551
split-complementary
#778135 #355181 #653581
monochromatic
#272A11 #4F5623 #778135 #9FAC47 #B8C36D

Accessibility & contrast

On white

4.22
#778135 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#778135 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778135
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778135#FFFFFF#000000##000000
##7781351.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B2D
Deuteranopia (green-blind)
#897C3A
Tritanopia (blue-blind)
#7E7A70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #778135;
/* rgb */ color: rgb(119, 129, 53);
/* oklch */ color: oklch(57.8% 0.101 115.9);
Tailwind
colors: {
  custom: {
    50: '#a0a56f',
    500: '#778135',
    950: '#000000',
  },
}
SCSS
$custom: #778135;
$custom-light: #a0a56f;
$custom-dark: #000000;
JSON
{
  "hex": "#778135",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 53
  },
  "hsl": {
    "h": 67.895,
    "s": 41.758,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57839,
    "c": 0.10098,
    "h": 115.9
  },
  "luminance": 0.19879
}

Semantic roles & 50–950 ramp

primary
#778135
secondary
#6F66AB
accent
#56D266
background
#FAFAF6
surface
#F3F4EC
border
#CDCEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #778135

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

Preview Lab → · Contrast checker → · Palette generator →

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