#767F18#767F18

#767F18 is a mid, vivid yellow. Relative luminance 0.191; OKLCH L 57.0% C 0.120 H 114.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#767F18
RGBrgb(118, 127, 24)
HSLhsl(65, 68%, 30%)
HSVhsv(65, 81%, 50%)
CMYKcmyk(7.1%, 0%, 81.1%, 50.2%)
CIE-LABlab(50.80, -16.38, 50.11)
CIE-LCHlch(50.80, 52.72, 108.10°)
OKLaboklab(57.03% -0.0504 0.1093)
OKLCHoklch(57.03% 0.12 114.8)
XYZxyz(15.2259, 19.0965, 3.7479)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767F18 #21187F
analogous
#7F5518 #767F18 #427F18
triadic
#767F18 #18767F #7F1876
tetradic
#767F18 #187F55 #21187F #7F1842
square
#767F18 #187F55 #21187F #7F1842
split-complementary
#767F18 #18427F #55187F
monochromatic
#181A05 #464C0E #767F18 #A6B222 #CBD938

Accessibility & contrast

On white

4.36
#767F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#767F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767F18
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767F18#FFFFFF#000000##000000
##767F181.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#887A22
Tritanopia (blue-blind)
#7E776C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #767f18;
/* rgb */ color: rgb(118, 127, 24);
/* oklch */ color: oklch(57.0% 0.120 114.8);
Tailwind
colors: {
  custom: {
    50: '#a1a45f',
    500: '#767f18',
    950: '#000000',
  },
}
SCSS
$custom: #767f18;
$custom-light: #a1a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#767f18",
  "rgb": {
    "r": 118,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 65.243,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.57026,
    "c": 0.12035,
    "h": 114.8
  },
  "luminance": 0.19096
}

Semantic roles & 50–950 ramp

primary
#767F18
secondary
#4A3FB3
accent
#3DEB4C
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #767F18

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

Preview Lab → · Contrast checker → · Palette generator →

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