#778112#778112

#778112 is a mid, vivid yellow. Relative luminance 0.197; OKLCH L 57.6% C 0.125 H 115.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#778112
RGBrgb(119, 129, 18)
HSLhsl(65, 76%, 29%)
HSVhsv(65, 86%, 51%)
CMYKcmyk(7.8%, 0%, 86%, 49.4%)
CIE-LABlab(51.46, -17.20, 52.43)
CIE-LCHlch(51.46, 55.17, 108.16°)
OKLaboklab(57.57% -0.0532 0.1131)
OKLCHoklch(57.57% 0.125 115.2)
XYZxyz(15.5677, 19.6664, 3.5481)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778112 #1C1281
analogous
#815412 #778112 #408112
triadic
#778112 #127781 #811277
tetradic
#778112 #128154 #1C1281 #811240
square
#778112 #128154 #1C1281 #811240
split-complementary
#778112 #124081 #541281
monochromatic
#191B04 #454B0B #778112 #A9B719 #D1E22C

Accessibility & contrast

On white

4.26
#778112 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#778112 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778112
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778112#FFFFFF#000000##000000
##7781121.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #778112;
/* rgb */ color: rgb(119, 129, 18);
/* oklch */ color: oklch(57.6% 0.125 115.2);
Tailwind
colors: {
  custom: {
    50: '#a2a55d',
    500: '#778112',
    950: '#000000',
  },
}
SCSS
$custom: #778112;
$custom-light: #a2a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#778112",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 65.405,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.57566,
    "c": 0.12498,
    "h": 115.2
  },
  "luminance": 0.19666
}

Semantic roles & 50–950 ramp

primary
#778112
secondary
#4438B7
accent
#36F247
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #778112

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

Preview Lab → · Contrast checker → · Palette generator →

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