#768322#768322

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

Color values

HEX#768322
RGBrgb(118, 131, 34)
HSLhsl(68, 59%, 32%)
HSVhsv(68, 74%, 51%)
CMYKcmyk(9.9%, 0%, 74%, 48.6%)
CIE-LABlab(52.06, -18.01, 47.82)
CIE-LCHlch(52.06, 51.09, 110.64°)
OKLaboklab(58.06% -0.054 0.1063)
OKLCHoklch(58.06% 0.119 117)
XYZxyz(15.8766, 20.1998, 4.5756)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768322 #2F2283
analogous
#835F22 #768322 #468322
triadic
#768322 #227683 #832276
tetradic
#768322 #22835F #2F2283 #832246
square
#768322 #22835F #2F2283 #832246
split-complementary
#768322 #224683 #5F2283
monochromatic
#1E2209 #4A5215 #768322 #A2B42F #C0D14E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768322#FFFFFF#000000##000000
##7683221.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)
#8C7C10
Deuteranopia (green-blind)
#8B7D2A
Tritanopia (blue-blind)
#7E7B70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #768322;
/* rgb */ color: rgb(118, 131, 34);
/* oklch */ color: oklch(58.1% 0.119 117.0);
Tailwind
colors: {
  custom: {
    50: '#a0a764',
    500: '#768322',
    950: '#000000',
  },
}
SCSS
$custom: #768322;
$custom-light: #a0a764;
$custom-dark: #000000;
JSON
{
  "hex": "#768322",
  "rgb": {
    "r": 118,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 68.041,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58058,
    "c": 0.11922,
    "h": 117
  },
  "luminance": 0.202
}

Semantic roles & 50–950 ramp

primary
#768322
secondary
#5A4CB4
accent
#46E25B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768322

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

Preview Lab → · Contrast checker → · Palette generator →

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