#767118#767118

#767118 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.7% C 0.105 H 106.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#767118
RGBrgb(118, 113, 24)
HSLhsl(57, 66%, 28%)
HSVhsv(57, 80%, 46%)
CMYKcmyk(0%, 4.2%, 79.7%, 53.7%)
CIE-LABlab(46.62, -8.75, 46.33)
CIE-LCHlch(46.62, 47.14, 100.70°)
OKLaboklab(53.68% -0.0292 0.1012)
OKLCHoklch(53.68% 0.105 106.1)
XYZxyz(13.5418, 15.7283, 3.1865)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767118 #181D76
analogous
#764218 #767118 #4C7618
triadic
#767118 #187671 #711876
tetradic
#767118 #187642 #181D76 #76184C
square
#767118 #187642 #181D76 #76184C
split-complementary
#767118 #184C76 #421876
monochromatic
#191805 #43400E #767118 #A9A222 #D5CD33

Accessibility & contrast

On white

5.07
#767118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#767118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767118
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767118#FFFFFF#000000##FFFFFF
##7671181.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D03
Deuteranopia (green-blind)
#7D701F
Tritanopia (blue-blind)
#7F6960
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #767118;
/* rgb */ color: rgb(118, 113, 24);
/* oklch */ color: oklch(53.7% 0.105 106.1);
Tailwind
colors: {
  custom: {
    50: '#a1995d',
    500: '#767118',
    950: '#000000',
  },
}
SCSS
$custom: #767118;
$custom-light: #a1995d;
$custom-dark: #000000;
JSON
{
  "hex": "#767118",
  "rgb": {
    "r": 118,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 56.809,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5368,
    "c": 0.10533,
    "h": 106.1
  },
  "luminance": 0.15728
}

Semantic roles & 50–950 ramp

primary
#767118
secondary
#3F44AB
accent
#48E93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #767118

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

Preview Lab → · Contrast checker → · Palette generator →

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