#768418#768418

#768418 is a mid, vivid yellow. Relative luminance 0.204; OKLCH L 58.2% C 0.126 H 117.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#768418
RGBrgb(118, 132, 24)
HSLhsl(68, 69%, 31%)
HSVhsv(68, 82%, 52%)
CMYKcmyk(10.6%, 0%, 81.8%, 48.2%)
CIE-LABlab(52.31, -19.00, 51.46)
CIE-LCHlch(52.31, 54.86, 110.27°)
OKLaboklab(58.24% -0.0577 0.1122)
OKLCHoklch(58.24% 0.126 117.2)
XYZxyz(15.8878, 20.4202, 3.9685)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768418 #261884
analogous
#845C18 #768418 #408418
triadic
#768418 #187684 #841876
tetradic
#768418 #18845C #261884 #841840
square
#768418 #18845C #261884 #841840
split-complementary
#768418 #184084 #5C1884
monochromatic
#191C05 #48500F #768418 #A4B821 #C7DB3B

Accessibility & contrast

On white

4.13
#768418 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#768418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768418
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768418#FFFFFF#000000##000000
##7684181.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7C00
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#7E7C70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #768418;
/* rgb */ color: rgb(118, 132, 24);
/* oklch */ color: oklch(58.2% 0.126 117.2);
Tailwind
colors: {
  custom: {
    50: '#a1a760',
    500: '#768418',
    950: '#000000',
  },
}
SCSS
$custom: #768418;
$custom-light: #a1a760;
$custom-dark: #000000;
JSON
{
  "hex": "#768418",
  "rgb": {
    "r": 118,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 67.778,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.58238,
    "c": 0.12612,
    "h": 117.2
  },
  "luminance": 0.2042
}

Semantic roles & 50–950 ramp

primary
#768418
secondary
#4F40B8
accent
#3CEC53
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #768418

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

Preview Lab → · Contrast checker → · Palette generator →

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