#778121#778121

#778121 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.7% C 0.117 H 115.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#778121
RGBrgb(119, 129, 33)
HSLhsl(66, 59%, 32%)
HSVhsv(66, 74%, 51%)
CMYKcmyk(7.8%, 0%, 74.4%, 49.4%)
CIE-LABlab(51.53, -16.56, 47.71)
CIE-LCHlch(51.53, 50.50, 109.14°)
OKLaboklab(57.65% -0.0502 0.1058)
OKLCHoklch(57.65% 0.117 115.4)
XYZxyz(15.7329, 19.7325, 4.4185)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778121 #2B2181
analogous
#815B21 #778121 #478121
triadic
#778121 #217781 #812177
tetradic
#778121 #21815B #2B2181 #812147
square
#778121 #21815B #2B2181 #812147
split-complementary
#778121 #214781 #5B2181
monochromatic
#1D2008 #4A5015 #778121 #A4B22D #C3D14B

Accessibility & contrast

On white

4.25
#778121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#778121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778121
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778121#FFFFFF#000000##000000
##7781211.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0F
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#7F796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #778121;
/* rgb */ color: rgb(119, 129, 33);
/* oklch */ color: oklch(57.7% 0.117 115.4);
Tailwind
colors: {
  custom: {
    50: '#a1a564',
    500: '#778121',
    950: '#000000',
  },
}
SCSS
$custom: #778121;
$custom-light: #a1a564;
$custom-dark: #000000;
JSON
{
  "hex": "#778121",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 66.25,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57651,
    "c": 0.11712,
    "h": 115.4
  },
  "luminance": 0.19732
}

Semantic roles & 50–950 ramp

primary
#778121
secondary
#554AB4
accent
#45E256
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #778121

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

Preview Lab → · Contrast checker → · Palette generator →

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