#768321#768321

#768321 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.1% C 0.120 H 116.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#768321
RGBrgb(118, 131, 33)
HSLhsl(68, 60%, 32%)
HSVhsv(68, 75%, 51%)
CMYKcmyk(9.9%, 0%, 74.8%, 48.6%)
CIE-LABlab(52.06, -18.06, 48.19)
CIE-LCHlch(52.06, 51.46, 110.55°)
OKLaboklab(58.05% -0.0543 0.1069)
OKLCHoklch(58.05% 0.12 116.9)
XYZxyz(15.8624, 20.1942, 4.5008)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768321 #2E2183
analogous
#835F21 #768321 #458321
triadic
#768321 #217683 #832176
tetradic
#768321 #21835F #2E2183 #832145
square
#768321 #21835F #2E2183 #832145
split-complementary
#768321 #214583 #5F2183
monochromatic
#1E2108 #4A5215 #768321 #A2B42D #C0D24C

Accessibility & contrast

On white

4.17
#768321 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#768321 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768321
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768321#FFFFFF#000000##000000
##7683211.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0E
Deuteranopia (green-blind)
#8B7D29
Tritanopia (blue-blind)
#7E7B70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #768321;
/* rgb */ color: rgb(118, 131, 33);
/* oklch */ color: oklch(58.1% 0.120 116.9);
Tailwind
colors: {
  custom: {
    50: '#a0a764',
    500: '#768321',
    950: '#000000',
  },
}
SCSS
$custom: #768321;
$custom-light: #a0a764;
$custom-dark: #000000;
JSON
{
  "hex": "#768321",
  "rgb": {
    "r": 118,
    "g": 131,
    "b": 33
  },
  "hsl": {
    "h": 67.959,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5805,
    "c": 0.11986,
    "h": 116.9
  },
  "luminance": 0.20194
}

Semantic roles & 50–950 ramp

primary
#768321
secondary
#594BB5
accent
#45E35A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768321

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

Preview Lab → · Contrast checker → · Palette generator →

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