#767018#767018

#767018 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.4% C 0.104 H 105.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#767018
RGBrgb(118, 112, 24)
HSLhsl(56, 66%, 28%)
HSVhsv(56, 80%, 46%)
CMYKcmyk(0%, 5.1%, 79.7%, 53.7%)
CIE-LABlab(46.32, -8.19, 46.05)
CIE-LCHlch(46.32, 46.78, 100.08°)
OKLaboklab(53.44% -0.0276 0.1006)
OKLCHoklch(53.44% 0.104 105.4)
XYZxyz(13.4308, 15.5064, 3.1495)
Luminance0.1551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767018 #181E76
analogous
#764118 #767018 #4D7618
triadic
#767018 #187670 #701876
tetradic
#767018 #187641 #181E76 #76184D
square
#767018 #187641 #181E76 #76184D
split-complementary
#767018 #184D76 #411876
monochromatic
#191805 #43400E #767018 #A9A022 #D5CB33

Accessibility & contrast

On white

5.12
#767018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#767018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767018
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767018#FFFFFF#000000##FFFFFF
##7670181.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C04
Deuteranopia (green-blind)
#7D6F1F
Tritanopia (blue-blind)
#7F685F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #767018;
/* rgb */ color: rgb(118, 112, 24);
/* oklch */ color: oklch(53.4% 0.104 105.4);
Tailwind
colors: {
  custom: {
    50: '#a1985d',
    500: '#767018',
    950: '#000000',
  },
}
SCSS
$custom: #767018;
$custom-light: #a1985d;
$custom-dark: #000000;
JSON
{
  "hex": "#767018",
  "rgb": {
    "r": 118,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 56.17,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53444,
    "c": 0.10435,
    "h": 105.4
  },
  "luminance": 0.15506
}

Semantic roles & 50–950 ramp

primary
#767018
secondary
#3F46AB
accent
#4AE93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #767018

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

Preview Lab → · Contrast checker → · Palette generator →

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