#767F16#767F16

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

Color values

HEX#767F16
RGBrgb(118, 127, 22)
HSLhsl(65, 70%, 29%)
HSVhsv(65, 83%, 50%)
CMYKcmyk(7.1%, 0%, 82.7%, 50.2%)
CIE-LABlab(50.79, -16.46, 50.71)
CIE-LCHlch(50.79, 53.32, 107.98°)
OKLaboklab(57.02% -0.0508 0.1102)
OKLCHoklch(57.02% 0.121 114.8)
XYZxyz(15.2059, 19.0885, 3.6423)
Luminance0.1909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767F16 #1F167F
analogous
#7F5416 #767F16 #427F16
triadic
#767F16 #16767F #7F1676
tetradic
#767F16 #167F54 #1F167F #7F1642
square
#767F16 #167F54 #1F167F #7F1642
split-complementary
#767F16 #16427F #54167F
monochromatic
#181A05 #464B0D #767F16 #A6B31F #CDDC34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##767F16#FFFFFF#000000##000000
##767F161.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)
#887A20
Tritanopia (blue-blind)
#7E776C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #767f16;
/* rgb */ color: rgb(118, 127, 22);
/* oklch */ color: oklch(57.0% 0.121 114.8);
Tailwind
colors: {
  custom: {
    50: '#a1a45e',
    500: '#767f16',
    950: '#000000',
  },
}
SCSS
$custom: #767f16;
$custom-light: #a1a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#767f16",
  "rgb": {
    "r": 118,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 65.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.57015,
    "c": 0.12134,
    "h": 114.8
  },
  "luminance": 0.19088
}

Semantic roles & 50–950 ramp

primary
#767F16
secondary
#473DB4
accent
#3BED4A
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #767F16

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

Preview Lab → · Contrast checker → · Palette generator →

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