#778252#778252

#778252 is a mid, moderate yellow-green. Relative luminance 0.205; OKLCH L 58.5% C 0.070 H 119.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#778252
RGBrgb(119, 130, 82)
HSLhsl(74, 23%, 42%)
HSVhsv(74, 37%, 51%)
CMYKcmyk(8.5%, 0%, 36.9%, 49%)
CIE-LABlab(52.39, -12.46, 24.67)
CIE-LCHlch(52.39, 27.64, 116.80°)
OKLaboklab(58.52% -0.0339 0.0609)
OKLCHoklch(58.52% 0.07 119.1)
XYZxyz(17.1134, 20.4965, 11.0357)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778252 #5D5282
analogous
#827552 #778252 #5F8252
triadic
#778252 #527782 #825277
tetradic
#778252 #528275 #5D5282 #82525F
square
#778252 #528275 #5D5282 #82525F
split-complementary
#778252 #525F82 #755282
monochromatic
#323723 #555C3A #778252 #97A36E #B2BB93

Accessibility & contrast

On white

4.12
#778252 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#778252 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778252
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778252#FFFFFF#000000##000000
##7782521.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887D4F
Deuteranopia (green-blind)
#877D54
Tritanopia (blue-blind)
#7B7D76
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #778252;
/* rgb */ color: rgb(119, 130, 82);
/* oklch */ color: oklch(58.5% 0.070 119.1);
Tailwind
colors: {
  custom: {
    50: '#9fa683',
    500: '#778252',
    950: '#000000',
  },
}
SCSS
$custom: #778252;
$custom-light: #9fa683;
$custom-dark: #000000;
JSON
{
  "hex": "#778252",
  "rgb": {
    "r": 119,
    "g": 130,
    "b": 82
  },
  "hsl": {
    "h": 73.75,
    "s": 22.642,
    "l": 41.569
  },
  "oklch": {
    "l": 0.58521,
    "c": 0.06971,
    "h": 119.1
  },
  "luminance": 0.20496
}

Semantic roles & 50–950 ramp

primary
#778252
secondary
#8F88A8
accent
#69BF7C
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0E0F0A
muted
#7E7F7C

Preview Lab

Preview with #778252

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

Preview Lab → · Contrast checker → · Palette generator →

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