#768214#768214

#768214 is a mid, vivid yellow. Relative luminance 0.199; OKLCH L 57.7% C 0.126 H 116.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#768214
RGBrgb(118, 130, 20)
HSLhsl(67, 73%, 29%)
HSVhsv(67, 85%, 51%)
CMYKcmyk(9.2%, 0%, 84.6%, 49%)
CIE-LABlab(51.69, -18.11, 52.06)
CIE-LCHlch(51.69, 55.12, 109.18°)
OKLaboklab(57.73% -0.0555 0.1127)
OKLCHoklch(57.73% 0.126 116.2)
XYZxyz(15.5806, 19.8676, 3.6757)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768214 #201482
analogous
#825714 #768214 #3F8214
triadic
#768214 #147682 #821476
tetradic
#768214 #148257 #201482 #82143F
square
#768214 #148257 #201482 #82143F
split-complementary
#768214 #143F82 #571482
monochromatic
#181B04 #464D0C #768214 #A6B71C #CCDF31

Accessibility & contrast

On white

4.22
#768214 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#768214 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768214
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768214#FFFFFF#000000##000000
##7682141.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8B7C20
Tritanopia (blue-blind)
#7E7A6E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #768214;
/* rgb */ color: rgb(118, 130, 20);
/* oklch */ color: oklch(57.7% 0.126 116.2);
Tailwind
colors: {
  custom: {
    50: '#a1a65e',
    500: '#768214',
    950: '#000000',
  },
}
SCSS
$custom: #768214;
$custom-light: #a1a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#768214",
  "rgb": {
    "r": 118,
    "g": 130,
    "b": 20
  },
  "hsl": {
    "h": 66.545,
    "s": 73.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.57733,
    "c": 0.12564,
    "h": 116.2
  },
  "luminance": 0.19867
}

Semantic roles & 50–950 ramp

primary
#768214
secondary
#483BB7
accent
#38F04C
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #768214

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

Preview Lab → · Contrast checker → · Palette generator →

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