#767D0F#767D0F

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

Color values

HEX#767D0F
RGBrgb(118, 125, 15)
HSLhsl(64, 79%, 27%)
HSVhsv(64, 88%, 49%)
CMYKcmyk(5.6%, 0%, 88%, 51%)
CIE-LABlab(50.16, -15.63, 52.04)
CIE-LCHlch(50.16, 54.34, 106.71°)
OKLaboklab(56.5% -0.049 0.1118)
OKLCHoklch(56.5% 0.122 113.7)
XYZxyz(14.8916, 18.5536, 3.2486)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767D0F #160F7D
analogous
#7D4D0F #767D0F #3F7D0F
triadic
#767D0F #0F767D #7D0F76
tetradic
#767D0F #0F7D4D #160F7D #7D0F3F
square
#767D0F #0F7D4D #160F7D #7D0F3F
split-complementary
#767D0F #0F3F7D #4D0F7D
monochromatic
#1A1B03 #424608 #767D0F #AAB416 #D8E422

Accessibility & contrast

On white

4.46
#767D0F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#767D0F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767D0F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767D0F#FFFFFF#000000##000000
##767D0F1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#87781C
Tritanopia (blue-blind)
#7F756A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #767d0f;
/* rgb */ color: rgb(118, 125, 15);
/* oklch */ color: oklch(56.5% 0.122 113.7);
Tailwind
colors: {
  custom: {
    50: '#a1a25c',
    500: '#767d0f',
    950: '#000000',
  },
}
SCSS
$custom: #767d0f;
$custom-light: #a1a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#767d0f",
  "rgb": {
    "r": 118,
    "g": 125,
    "b": 15
  },
  "hsl": {
    "h": 63.818,
    "s": 78.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.56501,
    "c": 0.12206,
    "h": 113.7
  },
  "luminance": 0.18553
}

Semantic roles & 50–950 ramp

primary
#767D0F
secondary
#3C34B4
accent
#33F53F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0F04
muted
#7F7E79

Preview Lab

Preview with #767D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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