#768310#768310

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

Color values

HEX#768310
RGBrgb(118, 131, 16)
HSLhsl(67, 78%, 29%)
HSVhsv(67, 88%, 51%)
CMYKcmyk(9.9%, 0%, 87.8%, 48.6%)
CIE-LABlab(51.97, -18.76, 53.32)
CIE-LCHlch(51.97, 56.52, 109.39°)
OKLaboklab(57.96% -0.0575 0.1147)
OKLCHoklch(57.96% 0.128 116.6)
XYZxyz(15.6815, 20.1218, 3.5479)
Luminance0.2012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768310 #1D1083
analogous
#835710 #768310 #3D8310
triadic
#768310 #107683 #831076
tetradic
#768310 #108357 #1D1083 #83103D
square
#768310 #108357 #1D1083 #83103D
split-complementary
#768310 #103D83 #571083
monochromatic
#191B03 #454C09 #768310 #A7BA17 #D0E529

Accessibility & contrast

On white

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

On black

5.02
#768310 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768310
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768310#FFFFFF#000000##000000
##7683101.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #768310;
/* rgb */ color: rgb(118, 131, 16);
/* oklch */ color: oklch(58.0% 0.128 116.6);
Tailwind
colors: {
  custom: {
    50: '#a1a65d',
    500: '#768310',
    950: '#000000',
  },
}
SCSS
$custom: #768310;
$custom-light: #a1a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#768310",
  "rgb": {
    "r": 118,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 66.783,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.57959,
    "c": 0.12836,
    "h": 116.6
  },
  "luminance": 0.20122
}

Semantic roles & 50–950 ramp

primary
#768310
secondary
#4536B9
accent
#33F549
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #768310

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

Preview Lab → · Contrast checker → · Palette generator →

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