#768528#768528

#768528 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.6% C 0.117 H 118.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#768528
RGBrgb(118, 133, 40)
HSLhsl(70, 54%, 34%)
HSVhsv(70, 70%, 52%)
CMYKcmyk(11.3%, 0%, 69.9%, 47.8%)
CIE-LABlab(52.71, -18.69, 46.07)
CIE-LCHlch(52.71, 49.72, 112.08°)
OKLaboklab(58.59% -0.0553 0.1036)
OKLCHoklch(58.59% 0.117 118.1)
XYZxyz(16.2421, 20.7800, 5.1624)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768528 #372885
analogous
#856628 #768528 #488528
triadic
#768528 #287685 #852876
tetradic
#768528 #288566 #372885 #852848
square
#768528 #288566 #372885 #852848
split-complementary
#768528 #284885 #662885
monochromatic
#23270C #4C561A #768528 #A0B436 #BBCD5A

Accessibility & contrast

On white

4.07
#768528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#768528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768528
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768528#FFFFFF#000000##000000
##7685281.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1A
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#7D7E72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #768528;
/* rgb */ color: rgb(118, 133, 40);
/* oklch */ color: oklch(58.6% 0.117 118.1);
Tailwind
colors: {
  custom: {
    50: '#a0a868',
    500: '#768528',
    950: '#000000',
  },
}
SCSS
$custom: #768528;
$custom-light: #a0a868;
$custom-dark: #000000;
JSON
{
  "hex": "#768528",
  "rgb": {
    "r": 118,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 69.677,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5859,
    "c": 0.11749,
    "h": 118.1
  },
  "luminance": 0.2078
}

Semantic roles & 50–950 ramp

primary
#768528
secondary
#6556B3
accent
#4BDD62
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768528

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

Preview Lab → · Contrast checker → · Palette generator →

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