#778128#778128

#778128 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 57.7% C 0.112 H 115.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#778128
RGBrgb(119, 129, 40)
HSLhsl(67, 53%, 33%)
HSVhsv(67, 69%, 51%)
CMYKcmyk(7.8%, 0%, 69%, 49.4%)
CIE-LABlab(51.58, -16.14, 44.95)
CIE-LCHlch(51.58, 47.76, 109.75°)
OKLaboklab(57.71% -0.0483 0.1013)
OKLCHoklch(57.71% 0.112 115.5)
XYZxyz(15.8414, 19.7759, 4.9897)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778128 #322881
analogous
#815E28 #778128 #4A8128
triadic
#778128 #287781 #812877
tetradic
#778128 #28815E #322881 #81284A
square
#778128 #28815E #322881 #81284A
split-complementary
#778128 #284A81 #5E2881
monochromatic
#21240B #4C521A #778128 #A2B036 #BECB58

Accessibility & contrast

On white

4.24
#778128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#778128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778128
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778128#FFFFFF#000000##000000
##7781281.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1B
Deuteranopia (green-blind)
#897C2E
Tritanopia (blue-blind)
#7F7A6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #778128;
/* rgb */ color: rgb(119, 129, 40);
/* oklch */ color: oklch(57.7% 0.112 115.5);
Tailwind
colors: {
  custom: {
    50: '#a1a567',
    500: '#778128',
    950: '#000000',
  },
}
SCSS
$custom: #778128;
$custom-light: #a1a567;
$custom-dark: #000000;
JSON
{
  "hex": "#778128",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 66.742,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57706,
    "c": 0.11218,
    "h": 115.5
  },
  "luminance": 0.19776
}

Semantic roles & 50–950 ramp

primary
#778128
secondary
#5F54B0
accent
#4CDC5C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #778128

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

Preview Lab → · Contrast checker → · Palette generator →

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