#778125#778125

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

Color values

HEX#778125
RGBrgb(119, 129, 37)
HSLhsl(67, 55%, 33%)
HSVhsv(67, 71%, 51%)
CMYKcmyk(7.8%, 0%, 71.3%, 49.4%)
CIE-LABlab(51.56, -16.33, 46.17)
CIE-LCHlch(51.56, 48.97, 109.48°)
OKLaboklab(57.68% -0.0491 0.1033)
OKLCHoklch(57.68% 0.114 115.4)
XYZxyz(15.7923, 19.7563, 4.7313)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778125 #2F2581
analogous
#815D25 #778125 #498125
triadic
#778125 #257781 #812577
tetradic
#778125 #25815D #2F2581 #812549
square
#778125 #25815D #2F2581 #812549
split-complementary
#778125 #254981 #5D2581
monochromatic
#1F220A #4B5117 #778125 #A3B133 #C0CE53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778125#FFFFFF#000000##000000
##7781251.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)
#8A7A16
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#7F796F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #778125;
/* rgb */ color: rgb(119, 129, 37);
/* oklch */ color: oklch(57.7% 0.114 115.4);
Tailwind
colors: {
  custom: {
    50: '#a1a566',
    500: '#778125',
    950: '#000000',
  },
}
SCSS
$custom: #778125;
$custom-light: #a1a566;
$custom-dark: #000000;
JSON
{
  "hex": "#778125",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 37
  },
  "hsl": {
    "h": 66.522,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57681,
    "c": 0.11441,
    "h": 115.4
  },
  "luminance": 0.19756
}

Semantic roles & 50–950 ramp

primary
#778125
secondary
#5B50B2
accent
#49DF59
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #778125

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

Preview Lab → · Contrast checker → · Palette generator →

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