#768331#768331

#768331 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.2% C 0.108 H 117.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#768331
RGBrgb(118, 131, 49)
HSLhsl(70, 46%, 35%)
HSVhsv(70, 63%, 51%)
CMYKcmyk(9.9%, 0%, 62.6%, 48.6%)
CIE-LABlab(52.18, -16.99, 41.56)
CIE-LCHlch(52.18, 44.90, 112.24°)
OKLaboklab(58.19% -0.0497 0.0955)
OKLCHoklch(58.19% 0.108 117.5)
XYZxyz(16.1422, 20.3061, 5.9742)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768331 #3E3183
analogous
#836731 #768331 #4D8331
triadic
#768331 #317683 #833176
tetradic
#768331 #318367 #3E3183 #83314D
square
#768331 #318367 #3E3183 #83314D
split-complementary
#768331 #314D83 #673183
monochromatic
#262A10 #4E5620 #768331 #9EB042 #B7C668

Accessibility & contrast

On white

4.15
#768331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#768331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768331
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768331#FFFFFF#000000##000000
##7683311.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C27
Deuteranopia (green-blind)
#8A7D36
Tritanopia (blue-blind)
#7D7C72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #768331;
/* rgb */ color: rgb(118, 131, 49);
/* oklch */ color: oklch(58.2% 0.108 117.5);
Tailwind
colors: {
  custom: {
    50: '#a0a76d',
    500: '#768331',
    950: '#000000',
  },
}
SCSS
$custom: #768331;
$custom-light: #a0a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#768331",
  "rgb": {
    "r": 118,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 69.512,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58191,
    "c": 0.10762,
    "h": 117.5
  },
  "luminance": 0.20306
}

Semantic roles & 50–950 ramp

primary
#768331
secondary
#6E62AE
accent
#53D567
background
#FAFAF6
surface
#F3F4EC
border
#CDCEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #768331

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

Preview Lab → · Contrast checker → · Palette generator →

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