#767B18#767B18

#767B18 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.1% C 0.116 H 112.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#767B18
RGBrgb(118, 123, 24)
HSLhsl(63, 67%, 29%)
HSVhsv(63, 80%, 48%)
CMYKcmyk(4.1%, 0%, 80.5%, 51.8%)
CIE-LABlab(49.60, -14.24, 49.03)
CIE-LCHlch(49.60, 51.06, 106.20°)
OKLaboklab(56.06% -0.0445 0.107)
OKLCHoklch(56.06% 0.116 112.6)
XYZxyz(14.7195, 18.0838, 3.5791)
Luminance0.1808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767B18 #1D187B
analogous
#7B4F18 #767B18 #457B18
triadic
#767B18 #18767B #7B1876
tetradic
#767B18 #187B4F #1D187B #7B1845
square
#767B18 #187B4F #1D187B #7B1845
split-complementary
#767B18 #18457B #4F187B
monochromatic
#191A05 #45480E #767B18 #A7AE22 #D0D836

Accessibility & contrast

On white

4.55
#767B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#767B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767B18
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767B18#FFFFFF#000000##000000
##767B181.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#857721
Tritanopia (blue-blind)
#7F7369
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #767b18;
/* rgb */ color: rgb(118, 123, 24);
/* oklch */ color: oklch(56.1% 0.116 112.6);
Tailwind
colors: {
  custom: {
    50: '#a1a15f',
    500: '#767b18',
    950: '#000000',
  },
}
SCSS
$custom: #767b18;
$custom-light: #a1a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#767b18",
  "rgb": {
    "r": 118,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 63.03,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56062,
    "c": 0.11586,
    "h": 112.6
  },
  "luminance": 0.18083
}

Semantic roles & 50–950 ramp

primary
#767B18
secondary
#453FB0
accent
#3EEA46
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #767B18

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

Preview Lab → · Contrast checker → · Palette generator →

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