#768018#768018

#768018 is a mid, vivid yellow. Relative luminance 0.194; OKLCH L 57.3% C 0.121 H 115.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#768018
RGBrgb(118, 128, 24)
HSLhsl(66, 68%, 30%)
HSVhsv(66, 81%, 50%)
CMYKcmyk(7.8%, 0%, 81.3%, 49.8%)
CIE-LABlab(51.10, -16.91, 50.38)
CIE-LCHlch(51.10, 53.15, 108.55°)
OKLaboklab(57.27% -0.0519 0.1099)
OKLCHoklch(57.27% 0.122 115.3)
XYZxyz(15.3557, 19.3561, 3.7912)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768018 #221880
analogous
#805618 #768018 #428018
triadic
#768018 #187680 #801876
tetradic
#768018 #188056 #221880 #801842
square
#768018 #188056 #221880 #801842
split-complementary
#768018 #184280 #561880
monochromatic
#181A05 #464C0E #768018 #A6B422 #CADA39

Accessibility & contrast

On white

4.31
#768018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#768018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768018
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768018#FFFFFF#000000##000000
##7680181.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#897B22
Tritanopia (blue-blind)
#7E786D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #768018;
/* rgb */ color: rgb(118, 128, 24);
/* oklch */ color: oklch(57.3% 0.121 115.3);
Tailwind
colors: {
  custom: {
    50: '#a1a45f',
    500: '#768018',
    950: '#000000',
  },
}
SCSS
$custom: #768018;
$custom-light: #a1a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#768018",
  "rgb": {
    "r": 118,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 65.769,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.57268,
    "c": 0.1215,
    "h": 115.3
  },
  "luminance": 0.19356
}

Semantic roles & 50–950 ramp

primary
#768018
secondary
#4B40B4
accent
#3DEB4D
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #768018

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

Preview Lab → · Contrast checker → · Palette generator →

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