#778229#778229

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

Color values

HEX#778229
RGBrgb(119, 130, 41)
HSLhsl(67, 52%, 34%)
HSVhsv(67, 68%, 51%)
CMYKcmyk(8.5%, 0%, 68.5%, 49%)
CIE-LABlab(51.89, -16.61, 44.84)
CIE-LCHlch(51.89, 47.82, 110.32°)
OKLaboklab(57.96% -0.0495 0.1012)
OKLCHoklch(57.96% 0.113 116.1)
XYZxyz(15.9910, 20.0475, 5.1246)
Luminance0.2005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778229 #342982
analogous
#826029 #778229 #4A8229
triadic
#778229 #297782 #822977
tetradic
#778229 #298260 #342982 #82294A
square
#778229 #298260 #342982 #82294A
split-complementary
#778229 #294A82 #602982
monochromatic
#22250C #4C531A #778229 #A2B138 #BDCB5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778229#FFFFFF#000000##000000
##7782291.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)
#8B7B1C
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#7F7B70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #778229;
/* rgb */ color: rgb(119, 130, 41);
/* oklch */ color: oklch(58.0% 0.113 116.1);
Tailwind
colors: {
  custom: {
    50: '#a1a668',
    500: '#778229',
    950: '#000000',
  },
}
SCSS
$custom: #778229;
$custom-light: #a1a668;
$custom-dark: #000000;
JSON
{
  "hex": "#778229",
  "rgb": {
    "r": 119,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 67.416,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57956,
    "c": 0.11265,
    "h": 116.1
  },
  "luminance": 0.20047
}

Semantic roles & 50–950 ramp

primary
#778229
secondary
#6156B0
accent
#4CDB5E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #778229

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

Preview Lab → · Contrast checker → · Palette generator →

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