#767218#767218

#767218 is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 53.9% C 0.106 H 106.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#767218
RGBrgb(118, 114, 24)
HSLhsl(57, 66%, 28%)
HSVhsv(57, 80%, 46%)
CMYKcmyk(0%, 3.4%, 79.7%, 53.7%)
CIE-LABlab(46.91, -9.31, 46.60)
CIE-LCHlch(46.91, 47.52, 101.30°)
OKLaboklab(53.92% -0.0308 0.1018)
OKLCHoklch(53.92% 0.106 106.8)
XYZxyz(13.6540, 15.9526, 3.2239)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767218 #181C76
analogous
#764318 #767218 #4B7618
triadic
#767218 #187672 #721876
tetradic
#767218 #187643 #181C76 #76184B
square
#767218 #187643 #181C76 #76184B
split-complementary
#767218 #184B76 #431876
monochromatic
#191905 #43410E #767218 #A9A322 #D5CF33

Accessibility & contrast

On white

5.01
#767218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#767218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767218
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767218#FFFFFF#000000##FFFFFF
##7672181.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D03
Deuteranopia (green-blind)
#7E711F
Tritanopia (blue-blind)
#7F6A61
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #767218;
/* rgb */ color: rgb(118, 114, 24);
/* oklch */ color: oklch(53.9% 0.106 106.8);
Tailwind
colors: {
  custom: {
    50: '#a19a5d',
    500: '#767218',
    950: '#000000',
  },
}
SCSS
$custom: #767218;
$custom-light: #a19a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#767218",
  "rgb": {
    "r": 118,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 57.447,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53916,
    "c": 0.10633,
    "h": 106.8
  },
  "luminance": 0.15952
}

Semantic roles & 50–950 ramp

primary
#767218
secondary
#3F43AB
accent
#46E93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #767218

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

Preview Lab → · Contrast checker → · Palette generator →

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