#768818#768818

#768818 is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.2% C 0.131 H 119.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#768818
RGBrgb(118, 136, 24)
HSLhsl(70, 70%, 31%)
HSVhsv(70, 82%, 53%)
CMYKcmyk(13.2%, 0%, 82.4%, 46.7%)
CIE-LABlab(53.52, -21.07, 52.54)
CIE-LCHlch(53.52, 56.61, 111.85°)
OKLaboklab(59.21% -0.0633 0.1145)
OKLCHoklch(59.21% 0.131 119)
XYZxyz(16.4406, 21.5259, 4.1528)
Luminance0.2153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768818 #2A1888
analogous
#886218 #768818 #3E8818
triadic
#768818 #187688 #881876
tetradic
#768818 #188862 #2A1888 #88183E
square
#768818 #188862 #2A1888 #88183E
split-complementary
#768818 #183E88 #621888
monochromatic
#1C2006 #49540F #768818 #A3BC21 #C3DD3E

Accessibility & contrast

On white

3.96
#768818 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#768818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768818
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768818#FFFFFF#000000##000000
##7688181.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#7E8074
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #768818;
/* rgb */ color: rgb(118, 136, 24);
/* oklch */ color: oklch(59.2% 0.131 119.0);
Tailwind
colors: {
  custom: {
    50: '#a1aa61',
    500: '#768818',
    950: '#000000',
  },
}
SCSS
$custom: #768818;
$custom-light: #a1aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#768818",
  "rgb": {
    "r": 118,
    "g": 136,
    "b": 24
  },
  "hsl": {
    "h": 69.643,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.59213,
    "c": 0.13081,
    "h": 119
  },
  "luminance": 0.21526
}

Semantic roles & 50–950 ramp

primary
#768818
secondary
#5440BC
accent
#3BED58
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #768818

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

Preview Lab → · Contrast checker → · Palette generator →

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