#778237#778237

#778237 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.1% C 0.100 H 116.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#778237
RGBrgb(119, 130, 55)
HSLhsl(69, 41%, 36%)
HSVhsv(69, 58%, 51%)
CMYKcmyk(8.5%, 0%, 57.7%, 49%)
CIE-LABlab(52.02, -15.52, 38.52)
CIE-LCHlch(52.02, 41.53, 111.94°)
OKLaboklab(58.1% -0.0449 0.0898)
OKLCHoklch(58.1% 0.1 116.6)
XYZxyz(16.2802, 20.1632, 6.6479)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778237 #423782
analogous
#826837 #778237 #528237
triadic
#778237 #377782 #823777
tetradic
#778237 #378268 #423782 #823752
square
#778237 #378268 #423782 #823752
split-complementary
#778237 #375282 #683782
monochromatic
#282C13 #505725 #778237 #9EAD49 #B7C371

Accessibility & contrast

On white

4.17
#778237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#778237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778237
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778237#FFFFFF#000000##000000
##7782371.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C2F
Deuteranopia (green-blind)
#897D3B
Tritanopia (blue-blind)
#7E7B72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #778237;
/* rgb */ color: rgb(119, 130, 55);
/* oklch */ color: oklch(58.1% 0.100 116.6);
Tailwind
colors: {
  custom: {
    50: '#a0a671',
    500: '#778237',
    950: '#000000',
  },
}
SCSS
$custom: #778237;
$custom-light: #a0a671;
$custom-dark: #000000;
JSON
{
  "hex": "#778237",
  "rgb": {
    "r": 119,
    "g": 130,
    "b": 55
  },
  "hsl": {
    "h": 68.8,
    "s": 40.541,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58102,
    "c": 0.10036,
    "h": 116.6
  },
  "luminance": 0.20163
}

Semantic roles & 50–950 ramp

primary
#778237
secondary
#7369AB
accent
#57D069
background
#FAFAF6
surface
#F3F4EC
border
#CDCEC7
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #778237

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

Preview Lab → · Contrast checker → · Palette generator →

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