#778227#778227

#778227 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 57.9% C 0.114 H 116.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#778227
RGBrgb(119, 130, 39)
HSLhsl(67, 54%, 33%)
HSVhsv(67, 70%, 51%)
CMYKcmyk(8.5%, 0%, 70%, 49%)
CIE-LABlab(51.88, -16.74, 45.67)
CIE-LCHlch(51.88, 48.64, 110.13°)
OKLaboklab(57.94% -0.0501 0.1026)
OKLCHoklch(57.94% 0.114 116)
XYZxyz(15.9570, 20.0339, 4.9454)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778227 #322782
analogous
#825F27 #778227 #498227
triadic
#778227 #277782 #822777
tetradic
#778227 #27825F #322782 #822749
square
#778227 #27825F #322782 #822749
split-complementary
#778227 #274982 #5F2782
monochromatic
#21240B #4C5319 #778227 #A2B135 #BECD57

Accessibility & contrast

On white

4.19
#778227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#778227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778227
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778227#FFFFFF#000000##000000
##7782271.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B19
Deuteranopia (green-blind)
#8A7C2E
Tritanopia (blue-blind)
#7F7A70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #778227;
/* rgb */ color: rgb(119, 130, 39);
/* oklch */ color: oklch(57.9% 0.114 116.0);
Tailwind
colors: {
  custom: {
    50: '#a1a667',
    500: '#778227',
    950: '#000000',
  },
}
SCSS
$custom: #778227;
$custom-light: #a1a667;
$custom-dark: #000000;
JSON
{
  "hex": "#778227",
  "rgb": {
    "r": 119,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 67.253,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57939,
    "c": 0.11416,
    "h": 116
  },
  "luminance": 0.20034
}

Semantic roles & 50–950 ramp

primary
#778227
secondary
#5F53B1
accent
#4BDD5C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #778227

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

Preview Lab → · Contrast checker → · Palette generator →

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