#768622#768622

#768622 is a mid, vivid yellow. Relative luminance 0.210; OKLCH L 58.8% C 0.123 H 118.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#768622
RGBrgb(118, 134, 34)
HSLhsl(70, 60%, 33%)
HSVhsv(70, 75%, 53%)
CMYKcmyk(11.9%, 0%, 74.6%, 47.5%)
CIE-LABlab(52.97, -19.57, 48.69)
CIE-LCHlch(52.97, 52.48, 111.89°)
OKLaboklab(58.79% -0.0584 0.1081)
OKLCHoklch(58.79% 0.123 118.4)
XYZxyz(16.2854, 21.0174, 4.7119)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768622 #322286
analogous
#866422 #768622 #448622
triadic
#768622 #227686 #862276
tetradic
#768622 #228664 #322286 #862244
square
#768622 #228664 #322286 #862244
split-complementary
#768622 #224486 #642286
monochromatic
#202409 #4B5516 #768622 #A1B72E #BED350

Accessibility & contrast

On white

4.04
#768622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#768622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768622
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768622#FFFFFF#000000##000000
##7686221.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0F
Deuteranopia (green-blind)
#8D7F2A
Tritanopia (blue-blind)
#7D7E73
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #768622;
/* rgb */ color: rgb(118, 134, 34);
/* oklch */ color: oklch(58.8% 0.123 118.4);
Tailwind
colors: {
  custom: {
    50: '#a0a965',
    500: '#768622',
    950: '#000000',
  },
}
SCSS
$custom: #768622;
$custom-light: #a0a965;
$custom-dark: #000000;
JSON
{
  "hex": "#768622",
  "rgb": {
    "r": 118,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 69.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58786,
    "c": 0.12287,
    "h": 118.4
  },
  "luminance": 0.21017
}

Semantic roles & 50–950 ramp

primary
#768622
secondary
#5E4EB6
accent
#45E35E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768622

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

Preview Lab → · Contrast checker → · Palette generator →

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