#768318#768318

#768318 is a mid, vivid yellow. Relative luminance 0.202; OKLCH L 58.0% C 0.125 H 116.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#768318
RGBrgb(118, 131, 24)
HSLhsl(67, 69%, 30%)
HSVhsv(67, 82%, 51%)
CMYKcmyk(9.9%, 0%, 81.7%, 48.6%)
CIE-LABlab(52.01, -18.48, 51.19)
CIE-LCHlch(52.01, 54.43, 109.85°)
OKLaboklab(58% -0.0562 0.1116)
OKLCHoklch(58% 0.125 116.7)
XYZxyz(15.7528, 20.1503, 3.9235)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768318 #251883
analogous
#835A18 #768318 #408318
triadic
#768318 #187683 #831876
tetradic
#768318 #18835A #251883 #831840
square
#768318 #18835A #251883 #831840
split-complementary
#768318 #184083 #5A1883
monochromatic
#191C05 #474F0F #768318 #A5B721 #C7DB3A

Accessibility & contrast

On white

4.17
#768318 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#768318 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768318
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768318#FFFFFF#000000##000000
##7683181.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8B7D23
Tritanopia (blue-blind)
#7E7B70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #768318;
/* rgb */ color: rgb(118, 131, 24);
/* oklch */ color: oklch(58.0% 0.125 116.7);
Tailwind
colors: {
  custom: {
    50: '#a1a660',
    500: '#768318',
    950: '#000000',
  },
}
SCSS
$custom: #768318;
$custom-light: #a1a660;
$custom-dark: #000000;
JSON
{
  "hex": "#768318",
  "rgb": {
    "r": 118,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 67.29,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57995,
    "c": 0.12496,
    "h": 116.7
  },
  "luminance": 0.2015
}

Semantic roles & 50–950 ramp

primary
#768318
secondary
#4E40B7
accent
#3CEC51
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #768318

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

Preview Lab → · Contrast checker → · Palette generator →

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