#768216#768216

#768216 is a mid, vivid yellow. Relative luminance 0.199; OKLCH L 57.7% C 0.125 H 116.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#768216
RGBrgb(118, 130, 22)
HSLhsl(67, 71%, 30%)
HSVhsv(67, 83%, 51%)
CMYKcmyk(9.2%, 0%, 83.1%, 49%)
CIE-LABlab(51.70, -18.04, 51.51)
CIE-LCHlch(51.70, 54.58, 109.30°)
OKLaboklab(57.74% -0.0552 0.1119)
OKLCHoklch(57.74% 0.125 116.2)
XYZxyz(15.5991, 19.8750, 3.7734)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768216 #221682
analogous
#825816 #768216 #408216
triadic
#768216 #167682 #821676
tetradic
#768216 #168258 #221682 #821640
square
#768216 #168258 #221682 #821640
split-complementary
#768216 #164082 #581682
monochromatic
#181A04 #464E0D #768216 #A6B61F #CADD35

Accessibility & contrast

On white

4.22
#768216 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#768216 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768216
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768216#FFFFFF#000000##000000
##7682161.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8B7C21
Tritanopia (blue-blind)
#7E7A6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #768216;
/* rgb */ color: rgb(118, 130, 22);
/* oklch */ color: oklch(57.7% 0.125 116.2);
Tailwind
colors: {
  custom: {
    50: '#a1a65f',
    500: '#768216',
    950: '#000000',
  },
}
SCSS
$custom: #768216;
$custom-light: #a1a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#768216",
  "rgb": {
    "r": 118,
    "g": 130,
    "b": 22
  },
  "hsl": {
    "h": 66.667,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.57742,
    "c": 0.12476,
    "h": 116.2
  },
  "luminance": 0.19875
}

Semantic roles & 50–950 ramp

primary
#768216
secondary
#4B3DB7
accent
#3AEE4E
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #768216

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

Preview Lab → · Contrast checker → · Palette generator →

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