#768522#768522

#768522 is a mid, vivid yellow. Relative luminance 0.207; OKLCH L 58.5% C 0.122 H 117.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#768522
RGBrgb(118, 133, 34)
HSLhsl(69, 59%, 33%)
HSVhsv(69, 74%, 52%)
CMYKcmyk(11.3%, 0%, 74.4%, 47.8%)
CIE-LABlab(52.67, -19.05, 48.40)
CIE-LCHlch(52.67, 52.02, 111.48°)
OKLaboklab(58.54% -0.0569 0.1075)
OKLCHoklch(58.54% 0.122 117.9)
XYZxyz(16.1478, 20.7423, 4.6661)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768522 #312285
analogous
#856222 #768522 #448522
triadic
#768522 #227685 #852276
tetradic
#768522 #228562 #312285 #852244
square
#768522 #228562 #312285 #852244
split-complementary
#768522 #224485 #622285
monochromatic
#202409 #4B5416 #768522 #A1B62E #BED24F

Accessibility & contrast

On white

4.08
#768522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#768522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768522
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768522#FFFFFF#000000##000000
##7685221.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0F
Deuteranopia (green-blind)
#8D7E2A
Tritanopia (blue-blind)
#7D7D72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #768522;
/* rgb */ color: rgb(118, 133, 34);
/* oklch */ color: oklch(58.5% 0.122 117.9);
Tailwind
colors: {
  custom: {
    50: '#a0a865',
    500: '#768522',
    950: '#000000',
  },
}
SCSS
$custom: #768522;
$custom-light: #a0a865;
$custom-dark: #000000;
JSON
{
  "hex": "#768522",
  "rgb": {
    "r": 118,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 69.091,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58543,
    "c": 0.12164,
    "h": 117.9
  },
  "luminance": 0.20742
}

Semantic roles & 50–950 ramp

primary
#768522
secondary
#5D4DB6
accent
#45E25D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768522

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

Preview Lab → · Contrast checker → · Palette generator →

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