#778142#778142

#778142 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.0% C 0.087 H 116.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#778142
RGBrgb(119, 129, 66)
HSLhsl(70, 32%, 38%)
HSVhsv(70, 49%, 51%)
CMYKcmyk(7.8%, 0%, 48.8%, 49.4%)
CIE-LABlab(51.86, -13.89, 32.70)
CIE-LCHlch(51.86, 35.53, 113.01°)
OKLaboklab(58.01% -0.0392 0.0782)
OKLCHoklch(58.01% 0.087 116.6)
XYZxyz(16.4415, 20.0160, 8.1505)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778142 #4C4281
analogous
#816B42 #778142 #578142
triadic
#778142 #427781 #814277
tetradic
#778142 #42816B #4C4281 #814257
square
#778142 #42816B #4C4281 #814257
split-complementary
#778142 #425781 #6B4281
monochromatic
#2C3019 #52592D #778142 #9CA957 #B4BE80

Accessibility & contrast

On white

4.20
#778142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#778142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778142
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778142#FFFFFF#000000##000000
##7781421.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3D
Deuteranopia (green-blind)
#887C45
Tritanopia (blue-blind)
#7D7B72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #778142;
/* rgb */ color: rgb(119, 129, 66);
/* oklch */ color: oklch(58.0% 0.087 116.6);
Tailwind
colors: {
  custom: {
    50: '#9fa578',
    500: '#778142',
    950: '#000000',
  },
}
SCSS
$custom: #778142;
$custom-light: #9fa578;
$custom-dark: #000000;
JSON
{
  "hex": "#778142",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 69.524,
    "s": 32.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.58012,
    "c": 0.08743,
    "h": 116.6
  },
  "luminance": 0.20016
}

Semantic roles & 50–950 ramp

primary
#778142
secondary
#7E76A9
accent
#5FC870
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0F0F09
muted
#7E7F7B

Preview Lab

Preview with #778142

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

Preview Lab → · Contrast checker → · Palette generator →

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