#778023#778023

#778023 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.4% C 0.115 H 114.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#778023
RGBrgb(119, 128, 35)
HSLhsl(66, 57%, 32%)
HSVhsv(66, 73%, 50%)
CMYKcmyk(7%, 0%, 72.7%, 49.8%)
CIE-LABlab(51.25, -15.92, 46.66)
CIE-LCHlch(51.25, 49.30, 108.84°)
OKLaboklab(57.43% -0.0482 0.104)
OKLCHoklch(57.43% 0.115 114.9)
XYZxyz(15.6307, 19.4819, 4.5268)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778023 #2C2380
analogous
#805A23 #778023 #498023
triadic
#778023 #237780 #802377
tetradic
#778023 #23805A #2C2380 #802349
square
#778023 #23805A #2C2380 #802349
split-complementary
#778023 #234980 #5A2380
monochromatic
#1E2009 #4A5016 #778023 #A4B030 #C2CF4F

Accessibility & contrast

On white

4.29
#778023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#778023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778023
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778023#FFFFFF#000000##000000
##7780231.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897913
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#7F786E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #778023;
/* rgb */ color: rgb(119, 128, 35);
/* oklch */ color: oklch(57.4% 0.115 114.9);
Tailwind
colors: {
  custom: {
    50: '#a1a465',
    500: '#778023',
    950: '#000000',
  },
}
SCSS
$custom: #778023;
$custom-light: #a1a465;
$custom-dark: #000000;
JSON
{
  "hex": "#778023",
  "rgb": {
    "r": 119,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 65.806,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57425,
    "c": 0.11461,
    "h": 114.9
  },
  "luminance": 0.19482
}

Semantic roles & 50–950 ramp

primary
#778023
secondary
#564DB2
accent
#47E056
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #778023

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

Preview Lab → · Contrast checker → · Palette generator →

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