#767D18#767D18

#767D18 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.5% C 0.118 H 113.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#767D18
RGBrgb(118, 125, 24)
HSLhsl(64, 68%, 29%)
HSVhsv(64, 81%, 49%)
CMYKcmyk(5.6%, 0%, 80.8%, 51%)
CIE-LABlab(50.20, -15.31, 49.57)
CIE-LCHlch(50.20, 51.88, 107.17°)
OKLaboklab(56.54% -0.0475 0.1081)
OKLCHoklch(56.54% 0.118 113.7)
XYZxyz(14.9702, 18.5850, 3.6626)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767D18 #1F187D
analogous
#7D5218 #767D18 #447D18
triadic
#767D18 #18767D #7D1876
tetradic
#767D18 #187D52 #1F187D #7D1844
square
#767D18 #187D52 #1F187D #7D1844
split-complementary
#767D18 #18447D #52187D
monochromatic
#181A05 #464A0E #767D18 #A6B022 #CDD937

Accessibility & contrast

On white

4.45
#767D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#767D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767D18
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767D18#FFFFFF#000000##000000
##767D181.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#877821
Tritanopia (blue-blind)
#7E756A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #767d18;
/* rgb */ color: rgb(118, 125, 24);
/* oklch */ color: oklch(56.5% 0.118 113.7);
Tailwind
colors: {
  custom: {
    50: '#a1a25f',
    500: '#767d18',
    950: '#000000',
  },
}
SCSS
$custom: #767d18;
$custom-light: #a1a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#767d18",
  "rgb": {
    "r": 118,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 64.158,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56543,
    "c": 0.1181,
    "h": 113.7
  },
  "luminance": 0.18585
}

Semantic roles & 50–950 ramp

primary
#767D18
secondary
#473FB2
accent
#3DEB49
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #767D18

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

Preview Lab → · Contrast checker → · Palette generator →

#767D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva