#768421#768421

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

Color values

HEX#768421
RGBrgb(118, 132, 33)
HSLhsl(68, 60%, 32%)
HSVhsv(68, 75%, 52%)
CMYKcmyk(10.6%, 0%, 75%, 48.2%)
CIE-LABlab(52.36, -18.58, 48.48)
CIE-LCHlch(52.36, 51.92, 110.97°)
OKLaboklab(58.29% -0.0557 0.1075)
OKLCHoklch(58.29% 0.121 117.4)
XYZxyz(15.9974, 20.4641, 4.5458)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768421 #2F2184
analogous
#846121 #768421 #448421
triadic
#768421 #217684 #842176
tetradic
#768421 #218461 #2F2184 #842144
square
#768421 #218461 #2F2184 #842144
split-complementary
#768421 #214484 #612184
monochromatic
#1E2209 #4A5315 #768421 #A2B52D #C0D24D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768421#FFFFFF#000000##000000
##7684211.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)
#8D7D0D
Deuteranopia (green-blind)
#8C7D29
Tritanopia (blue-blind)
#7E7C71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #768421;
/* rgb */ color: rgb(118, 132, 33);
/* oklch */ color: oklch(58.3% 0.121 117.4);
Tailwind
colors: {
  custom: {
    50: '#a0a764',
    500: '#768421',
    950: '#000000',
  },
}
SCSS
$custom: #768421;
$custom-light: #a0a764;
$custom-dark: #000000;
JSON
{
  "hex": "#768421",
  "rgb": {
    "r": 118,
    "g": 132,
    "b": 33
  },
  "hsl": {
    "h": 68.485,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58293,
    "c": 0.12107,
    "h": 117.4
  },
  "luminance": 0.20464
}

Semantic roles & 50–950 ramp

primary
#768421
secondary
#5A4BB6
accent
#45E35B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768421

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

Preview Lab → · Contrast checker → · Palette generator →

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