#768420#768420

#768420 is a mid, vivid yellow. Relative luminance 0.205; OKLCH L 58.3% C 0.122 H 117.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#768420
RGBrgb(118, 132, 32)
HSLhsl(68, 61%, 32%)
HSVhsv(68, 76%, 52%)
CMYKcmyk(10.6%, 0%, 75.8%, 48.2%)
CIE-LABlab(52.35, -18.64, 48.84)
CIE-LCHlch(52.35, 52.27, 110.89°)
OKLaboklab(58.29% -0.056 0.1081)
OKLCHoklch(58.29% 0.122 117.4)
XYZxyz(15.9836, 20.4585, 4.4731)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768420 #2E2084
analogous
#846020 #768420 #448420
triadic
#768420 #207684 #842076
tetradic
#768420 #208460 #2E2084 #842044
square
#768420 #208460 #2E2084 #842044
split-complementary
#768420 #204484 #602084
monochromatic
#1E2108 #4A5314 #768420 #A2B52C #C0D34B

Accessibility & contrast

On white

4.12
#768420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#768420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768420
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768420#FFFFFF#000000##000000
##7684201.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0B
Deuteranopia (green-blind)
#8C7D29
Tritanopia (blue-blind)
#7E7C71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #768420;
/* rgb */ color: rgb(118, 132, 32);
/* oklch */ color: oklch(58.3% 0.122 117.4);
Tailwind
colors: {
  custom: {
    50: '#a0a764',
    500: '#768420',
    950: '#000000',
  },
}
SCSS
$custom: #768420;
$custom-light: #a0a764;
$custom-dark: #000000;
JSON
{
  "hex": "#768420",
  "rgb": {
    "r": 118,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 68.4,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58286,
    "c": 0.12169,
    "h": 117.4
  },
  "luminance": 0.20458
}

Semantic roles & 50–950 ramp

primary
#768420
secondary
#594AB6
accent
#44E45A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768420

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

Preview Lab → · Contrast checker → · Palette generator →

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