#768316#768316

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

Color values

HEX#768316
RGBrgb(118, 131, 22)
HSLhsl(67, 71%, 30%)
HSVhsv(67, 83%, 51%)
CMYKcmyk(9.9%, 0%, 83.2%, 48.6%)
CIE-LABlab(52.00, -18.56, 51.78)
CIE-LCHlch(52.00, 55.00, 109.72°)
OKLaboklab(57.99% -0.0566 0.1125)
OKLCHoklch(57.99% 0.126 116.7)
XYZxyz(15.7328, 20.1423, 3.8180)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768316 #231683
analogous
#835A16 #768316 #3F8316
triadic
#768316 #167683 #831676
tetradic
#768316 #16835A #231683 #83163F
square
#768316 #16835A #231683 #83163F
split-complementary
#768316 #163F83 #5A1683
monochromatic
#181A04 #474F0D #768316 #A5B71F #C9DD36

Accessibility & contrast

On white

4.18
#768316 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##768316#FFFFFF#000000##000000
##7683161.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #768316;
/* rgb */ color: rgb(118, 131, 22);
/* oklch */ color: oklch(58.0% 0.126 116.7);
Tailwind
colors: {
  custom: {
    50: '#a1a65f',
    500: '#768316',
    950: '#000000',
  },
}
SCSS
$custom: #768316;
$custom-light: #a1a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#768316",
  "rgb": {
    "r": 118,
    "g": 131,
    "b": 22
  },
  "hsl": {
    "h": 67.156,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.57985,
    "c": 0.1259,
    "h": 116.7
  },
  "luminance": 0.20142
}

Semantic roles & 50–950 ramp

primary
#768316
secondary
#4C3DB7
accent
#3AEE4F
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #768316

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

Preview Lab → · Contrast checker → · Palette generator →

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