#778127#778127

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

Color values

HEX#778127
RGBrgb(119, 129, 39)
HSLhsl(67, 54%, 33%)
HSVhsv(67, 70%, 51%)
CMYKcmyk(7.8%, 0%, 69.8%, 49.4%)
CIE-LABlab(51.58, -16.21, 45.36)
CIE-LCHlch(51.58, 48.17, 109.66°)
OKLaboklab(57.7% -0.0486 0.102)
OKLCHoklch(57.7% 0.113 115.5)
XYZxyz(15.8246, 19.7692, 4.9013)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778127 #312781
analogous
#815E27 #778127 #4A8127
triadic
#778127 #277781 #812777
tetradic
#778127 #27815E #312781 #81274A
square
#778127 #27815E #312781 #81274A
split-complementary
#778127 #274A81 #5E2781
monochromatic
#20230B #4C5219 #778127 #A2B035 #BFCC56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778127#FFFFFF#000000##000000
##7781271.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #778127;
/* rgb */ color: rgb(119, 129, 39);
/* oklch */ color: oklch(57.7% 0.113 115.5);
Tailwind
colors: {
  custom: {
    50: '#a1a567',
    500: '#778127',
    950: '#000000',
  },
}
SCSS
$custom: #778127;
$custom-light: #a1a567;
$custom-dark: #000000;
JSON
{
  "hex": "#778127",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 66.667,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57698,
    "c": 0.11294,
    "h": 115.5
  },
  "luminance": 0.19769
}

Semantic roles & 50–950 ramp

primary
#778127
secondary
#5D53B1
accent
#4BDD5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #778127

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

Preview Lab → · Contrast checker → · Palette generator →

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