#778239#778239

#778239 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.1% C 0.098 H 116.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#778239
RGBrgb(119, 130, 57)
HSLhsl(69, 39%, 37%)
HSVhsv(69, 56%, 51%)
CMYKcmyk(8.5%, 0%, 56.2%, 49%)
CIE-LABlab(52.04, -15.33, 37.56)
CIE-LCHlch(52.04, 40.57, 112.21°)
OKLaboklab(58.13% -0.0442 0.0879)
OKLCHoklch(58.13% 0.098 116.7)
XYZxyz(16.3292, 20.1828, 6.9055)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778239 #443982
analogous
#826939 #778239 #538239
triadic
#778239 #397782 #823977
tetradic
#778239 #398269 #443982 #823953
square
#778239 #398269 #443982 #823953
split-complementary
#778239 #395382 #693982
monochromatic
#292D14 #505726 #778239 #9EAD4C #B6C274

Accessibility & contrast

On white

4.17
#778239 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#778239 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778239
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778239#FFFFFF#000000##000000
##7782391.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C32
Deuteranopia (green-blind)
#897D3D
Tritanopia (blue-blind)
#7E7B72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #778239;
/* rgb */ color: rgb(119, 130, 57);
/* oklch */ color: oklch(58.1% 0.098 116.7);
Tailwind
colors: {
  custom: {
    50: '#a0a672',
    500: '#778239',
    950: '#000000',
  },
}
SCSS
$custom: #778239;
$custom-light: #a0a672;
$custom-dark: #000000;
JSON
{
  "hex": "#778239",
  "rgb": {
    "r": 119,
    "g": 130,
    "b": 57
  },
  "hsl": {
    "h": 69.041,
    "s": 39.037,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58127,
    "c": 0.09838,
    "h": 116.7
  },
  "luminance": 0.20183
}

Semantic roles & 50–950 ramp

primary
#778239
secondary
#756CAB
accent
#59CF6B
background
#FAFAF7
surface
#F3F4ED
border
#CDCEC8
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #778239

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

Preview Lab → · Contrast checker → · Palette generator →

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