#778236#778236

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

Color values

HEX#778236
RGBrgb(119, 130, 54)
HSLhsl(69, 41%, 36%)
HSVhsv(69, 58%, 51%)
CMYKcmyk(8.5%, 0%, 58.5%, 49%)
CIE-LABlab(52.01, -15.60, 39.00)
CIE-LCHlch(52.01, 42.01, 111.81°)
OKLaboklab(58.09% -0.0453 0.0907)
OKLCHoklch(58.09% 0.101 116.5)
XYZxyz(16.2565, 20.1537, 6.5230)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778236 #413682
analogous
#826736 #778236 #518236
triadic
#778236 #367782 #823677
tetradic
#778236 #368267 #413682 #823651
square
#778236 #368267 #413682 #823651
split-complementary
#778236 #365182 #673682
monochromatic
#282C12 #4F5724 #778236 #9FAD48 #B7C36F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778236#FFFFFF#000000##000000
##7782361.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)
#8A7C2E
Deuteranopia (green-blind)
#897D3B
Tritanopia (blue-blind)
#7E7B71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #778236;
/* rgb */ color: rgb(119, 130, 54);
/* oklch */ color: oklch(58.1% 0.101 116.5);
Tailwind
colors: {
  custom: {
    50: '#a0a670',
    500: '#778236',
    950: '#000000',
  },
}
SCSS
$custom: #778236;
$custom-light: #a0a670;
$custom-dark: #000000;
JSON
{
  "hex": "#778236",
  "rgb": {
    "r": 119,
    "g": 130,
    "b": 54
  },
  "hsl": {
    "h": 68.684,
    "s": 41.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5809,
    "c": 0.10134,
    "h": 116.5
  },
  "luminance": 0.20154
}

Semantic roles & 50–950 ramp

primary
#778236
secondary
#7268AC
accent
#57D168
background
#FAFAF6
surface
#F3F4EC
border
#CDCEC7
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #778236

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

Preview Lab → · Contrast checker → · Palette generator →

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