#768327#768327

#768327 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.1% C 0.116 H 117.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#768327
RGBrgb(118, 131, 39)
HSLhsl(68, 54%, 33%)
HSVhsv(68, 70%, 51%)
CMYKcmyk(9.9%, 0%, 70.2%, 48.6%)
CIE-LABlab(52.10, -17.71, 45.87)
CIE-LCHlch(52.10, 49.17, 111.11°)
OKLaboklab(58.1% -0.0527 0.103)
OKLCHoklch(58.1% 0.116 117.1)
XYZxyz(15.9541, 20.2308, 4.9835)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768327 #342783
analogous
#836227 #768327 #488327
triadic
#768327 #277683 #832776
tetradic
#768327 #278362 #342783 #832748
square
#768327 #278362 #342783 #832748
split-complementary
#768327 #274883 #622783
monochromatic
#21250B #4C5419 #768327 #A0B235 #BCCD57

Accessibility & contrast

On white

4.16
#768327 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#768327 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768327
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768327#FFFFFF#000000##000000
##7683271.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C19
Deuteranopia (green-blind)
#8B7D2E
Tritanopia (blue-blind)
#7D7C71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #768327;
/* rgb */ color: rgb(118, 131, 39);
/* oklch */ color: oklch(58.1% 0.116 117.1);
Tailwind
colors: {
  custom: {
    50: '#a0a767',
    500: '#768327',
    950: '#000000',
  },
}
SCSS
$custom: #768327;
$custom-light: #a0a767;
$custom-dark: #000000;
JSON
{
  "hex": "#768327",
  "rgb": {
    "r": 118,
    "g": 131,
    "b": 39
  },
  "hsl": {
    "h": 68.478,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58097,
    "c": 0.11574,
    "h": 117.1
  },
  "luminance": 0.20231
}

Semantic roles & 50–950 ramp

primary
#768327
secondary
#6154B2
accent
#4ADD5F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768327

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

Preview Lab → · Contrast checker → · Palette generator →

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