#778233#778233

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

Color values

HEX#778233
RGBrgb(119, 130, 51)
HSLhsl(68, 44%, 35%)
HSVhsv(68, 61%, 51%)
CMYKcmyk(8.5%, 0%, 60.8%, 49%)
CIE-LABlab(51.98, -15.86, 40.41)
CIE-LCHlch(51.98, 43.42, 111.43°)
OKLaboklab(58.06% -0.0463 0.0933)
OKLCHoklch(58.06% 0.104 116.4)
XYZxyz(16.1882, 20.1264, 6.1633)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778233 #3E3382
analogous
#826533 #778233 #508233
triadic
#778233 #337782 #823377
tetradic
#778233 #338265 #3E3382 #823350
square
#778233 #338265 #3E3382 #823350
split-complementary
#778233 #335082 #653382
monochromatic
#272A11 #4F5622 #778233 #9FAE44 #B8C56B

Accessibility & contrast

On white

4.18
#778233 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##778233#FFFFFF#000000##000000
##7782331.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C2A
Deuteranopia (green-blind)
#8A7D38
Tritanopia (blue-blind)
#7E7B71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #778233;
/* rgb */ color: rgb(119, 130, 51);
/* oklch */ color: oklch(58.1% 0.104 116.4);
Tailwind
colors: {
  custom: {
    50: '#a0a66e',
    500: '#778233',
    950: '#000000',
  },
}
SCSS
$custom: #778233;
$custom-light: #a0a66e;
$custom-dark: #000000;
JSON
{
  "hex": "#778233",
  "rgb": {
    "r": 119,
    "g": 130,
    "b": 51
  },
  "hsl": {
    "h": 68.354,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58056,
    "c": 0.10417,
    "h": 116.4
  },
  "luminance": 0.20126
}

Semantic roles & 50–950 ramp

primary
#778233
secondary
#6E64AD
accent
#54D366
background
#FAFAF6
surface
#F3F4EC
border
#CDCEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #778233

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

Preview Lab → · Contrast checker → · Palette generator →

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