#768317#768317

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

Color values

HEX#768317
RGBrgb(118, 131, 23)
HSLhsl(67, 70%, 30%)
HSVhsv(67, 82%, 51%)
CMYKcmyk(9.9%, 0%, 82.4%, 48.6%)
CIE-LABlab(52.00, -18.52, 51.49)
CIE-LCHlch(52.00, 54.72, 109.79°)
OKLaboklab(57.99% -0.0564 0.112)
OKLCHoklch(57.99% 0.125 116.7)
XYZxyz(15.7426, 20.1462, 3.8697)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768317 #241783
analogous
#835A17 #768317 #408317
triadic
#768317 #177683 #831776
tetradic
#768317 #17835A #241783 #831740
square
#768317 #17835A #241783 #831740
split-complementary
#768317 #174083 #5A1783
monochromatic
#181B05 #474F0E #768317 #A5B720 #C8DC38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768317#FFFFFF#000000##000000
##7683171.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)
#8B7D22
Tritanopia (blue-blind)
#7E7B6F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #768317;
/* rgb */ color: rgb(118, 131, 23);
/* oklch */ color: oklch(58.0% 0.125 116.7);
Tailwind
colors: {
  custom: {
    50: '#a1a65f',
    500: '#768317',
    950: '#000000',
  },
}
SCSS
$custom: #768317;
$custom-light: #a1a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#768317",
  "rgb": {
    "r": 118,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 67.222,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5799,
    "c": 0.12543,
    "h": 116.7
  },
  "luminance": 0.20146
}

Semantic roles & 50–950 ramp

primary
#768317
secondary
#4D3FB7
accent
#3BED50
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #768317

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

Preview Lab → · Contrast checker → · Palette generator →

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