#778223#778223

#778223 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 57.9% C 0.117 H 115.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#778223
RGBrgb(119, 130, 35)
HSLhsl(67, 58%, 32%)
HSVhsv(67, 73%, 51%)
CMYKcmyk(8.5%, 0%, 73.1%, 49%)
CIE-LABlab(51.85, -16.98, 47.25)
CIE-LCHlch(51.85, 50.21, 109.76°)
OKLaboklab(57.91% -0.0511 0.1052)
OKLCHoklch(57.91% 0.117 115.9)
XYZxyz(15.8942, 20.0088, 4.6146)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778223 #2E2382
analogous
#825D23 #778223 #488223
triadic
#778223 #237782 #822377
tetradic
#778223 #23825D #2E2382 #822348
square
#778223 #23825D #2E2382 #822348
split-complementary
#778223 #234882 #5D2382
monochromatic
#1F2209 #4B5216 #778223 #A3B230 #C1D050

Accessibility & contrast

On white

4.20
#778223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#778223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778223
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778223#FFFFFF#000000##000000
##7782231.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B12
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#7F7A6F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #778223;
/* rgb */ color: rgb(119, 130, 35);
/* oklch */ color: oklch(57.9% 0.117 115.9);
Tailwind
colors: {
  custom: {
    50: '#a1a665',
    500: '#778223',
    950: '#000000',
  },
}
SCSS
$custom: #778223;
$custom-light: #a1a665;
$custom-dark: #000000;
JSON
{
  "hex": "#778223",
  "rgb": {
    "r": 119,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 66.947,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57907,
    "c": 0.11699,
    "h": 115.9
  },
  "luminance": 0.20009
}

Semantic roles & 50–950 ramp

primary
#778223
secondary
#594DB3
accent
#47E159
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #778223

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

Preview Lab → · Contrast checker → · Palette generator →

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