#768315#768315

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

Color values

HEX#768315
RGBrgb(118, 131, 21)
HSLhsl(67, 72%, 30%)
HSVhsv(67, 84%, 51%)
CMYKcmyk(9.9%, 0%, 84%, 48.6%)
CIE-LABlab(51.99, -18.60, 52.05)
CIE-LCHlch(51.99, 55.28, 109.66°)
OKLaboklab(57.98% -0.0568 0.1129)
OKLCHoklch(57.98% 0.126 116.7)
XYZxyz(15.7233, 20.1385, 3.7681)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768315 #221583
analogous
#835915 #768315 #3F8315
triadic
#768315 #157683 #831576
tetradic
#768315 #158359 #221583 #83153F
square
#768315 #158359 #221583 #83153F
split-complementary
#768315 #153F83 #591583
monochromatic
#181A04 #464E0D #768315 #A6B81D #CADE34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #768315;
/* rgb */ color: rgb(118, 131, 21);
/* oklch */ color: oklch(58.0% 0.126 116.7);
Tailwind
colors: {
  custom: {
    50: '#a1a65f',
    500: '#768315',
    950: '#000000',
  },
}
SCSS
$custom: #768315;
$custom-light: #a1a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#768315",
  "rgb": {
    "r": 118,
    "g": 131,
    "b": 21
  },
  "hsl": {
    "h": 67.091,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5798,
    "c": 0.12635,
    "h": 116.7
  },
  "luminance": 0.20138
}

Semantic roles & 50–950 ramp

primary
#768315
secondary
#4B3CB8
accent
#39EF4E
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #768315

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

Preview Lab → · Contrast checker → · Palette generator →

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