#768314#768314

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

Color values

HEX#768314
RGBrgb(118, 131, 20)
HSLhsl(67, 74%, 30%)
HSVhsv(67, 85%, 51%)
CMYKcmyk(9.9%, 0%, 84.7%, 48.6%)
CIE-LABlab(51.99, -18.63, 52.32)
CIE-LCHlch(51.99, 55.54, 109.60°)
OKLaboklab(57.98% -0.0569 0.1133)
OKLCHoklch(57.98% 0.127 116.7)
XYZxyz(15.7142, 20.1349, 3.7203)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768314 #211483
analogous
#835914 #768314 #3F8314
triadic
#768314 #147683 #831476
tetradic
#768314 #148359 #211483 #83143F
square
#768314 #148359 #211483 #83143F
split-complementary
#768314 #143F83 #591483
monochromatic
#181B04 #464E0C #768314 #A6B81C #CBE032

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #768314;
/* rgb */ color: rgb(118, 131, 20);
/* oklch */ color: oklch(58.0% 0.127 116.7);
Tailwind
colors: {
  custom: {
    50: '#a1a65e',
    500: '#768314',
    950: '#000000',
  },
}
SCSS
$custom: #768314;
$custom-light: #a1a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#768314",
  "rgb": {
    "r": 118,
    "g": 131,
    "b": 20
  },
  "hsl": {
    "h": 67.027,
    "s": 73.51,
    "l": 29.608
  },
  "oklch": {
    "l": 0.57976,
    "c": 0.12679,
    "h": 116.7
  },
  "luminance": 0.20135
}

Semantic roles & 50–950 ramp

primary
#768314
secondary
#4A3BB8
accent
#38F04D
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #768314

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

Preview Lab → · Contrast checker → · Palette generator →

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