#768526#768526

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

Color values

HEX#768526
RGBrgb(118, 133, 38)
HSLhsl(69, 56%, 34%)
HSVhsv(69, 71%, 52%)
CMYKcmyk(11.3%, 0%, 71.4%, 47.8%)
CIE-LABlab(52.69, -18.82, 46.88)
CIE-LCHlch(52.69, 50.51, 111.87°)
OKLaboklab(58.57% -0.0559 0.105)
OKLCHoklch(58.57% 0.119 118)
XYZxyz(16.2089, 20.7667, 4.9878)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768526 #352685
analogous
#856426 #768526 #468526
triadic
#768526 #267685 #852676
tetradic
#768526 #268564 #352685 #852646
square
#768526 #268564 #352685 #852646
split-complementary
#768526 #264685 #642685
monochromatic
#22260B #4C5518 #768526 #A0B534 #BCCF57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768526#FFFFFF#000000##000000
##7685261.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #768526;
/* rgb */ color: rgb(118, 133, 38);
/* oklch */ color: oklch(58.6% 0.119 118.0);
Tailwind
colors: {
  custom: {
    50: '#a0a867',
    500: '#768526',
    950: '#000000',
  },
}
SCSS
$custom: #768526;
$custom-light: #a0a867;
$custom-dark: #000000;
JSON
{
  "hex": "#768526",
  "rgb": {
    "r": 118,
    "g": 133,
    "b": 38
  },
  "hsl": {
    "h": 69.474,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58573,
    "c": 0.11894,
    "h": 118
  },
  "luminance": 0.20767
}

Semantic roles & 50–950 ramp

primary
#768526
secondary
#6353B3
accent
#49DF61
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768526

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

Preview Lab → · Contrast checker → · Palette generator →

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