#788043#788043

#788043 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 57.9% C 0.085 H 115.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#788043
RGBrgb(120, 128, 67)
HSLhsl(68, 31%, 38%)
HSVhsv(68, 48%, 50%)
CMYKcmyk(6.3%, 0%, 47.7%, 49.8%)
CIE-LABlab(51.65, -12.80, 31.94)
CIE-LCHlch(51.65, 34.41, 111.84°)
OKLaboklab(57.87% -0.0361 0.0766)
OKLCHoklch(57.87% 0.085 115.2)
XYZxyz(16.4782, 19.8369, 8.2699)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788043 #4B4380
analogous
#806943 #788043 #598043
triadic
#788043 #437880 #804378
tetradic
#788043 #438069 #4B4380 #804359
square
#788043 #438069 #4B4380 #804359
split-complementary
#788043 #435980 #694380
monochromatic
#2D3019 #52582E #788043 #9DA858 #B5BD81

Accessibility & contrast

On white

4.23
#788043 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#788043 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788043
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788043#FFFFFF#000000##000000
##7880431.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3E
Deuteranopia (green-blind)
#877C46
Tritanopia (blue-blind)
#7E7A72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #788043;
/* rgb */ color: rgb(120, 128, 67);
/* oklch */ color: oklch(57.9% 0.085 115.2);
Tailwind
colors: {
  custom: {
    50: '#a0a478',
    500: '#788043',
    950: '#000000',
  },
}
SCSS
$custom: #788043;
$custom-light: #a0a478;
$custom-dark: #000000;
JSON
{
  "hex": "#788043",
  "rgb": {
    "r": 120,
    "g": 128,
    "b": 67
  },
  "hsl": {
    "h": 67.869,
    "s": 31.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.57874,
    "c": 0.08463,
    "h": 115.2
  },
  "luminance": 0.19837
}

Semantic roles & 50–950 ramp

primary
#788043
secondary
#7D77A8
accent
#60C76E
background
#FAFAF7
surface
#F3F4ED
border
#CDCEC8
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #788043

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

Preview Lab → · Contrast checker → · Palette generator →

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