#767A12#767A12

#767A12 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.8% C 0.118 H 112.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#767A12
RGBrgb(118, 122, 18)
HSLhsl(62, 74%, 27%)
HSVhsv(62, 85%, 48%)
CMYKcmyk(3.3%, 0%, 85.2%, 52.2%)
CIE-LABlab(49.27, -13.93, 50.53)
CIE-LCHlch(49.27, 52.41, 105.41°)
OKLaboklab(55.79% -0.0441 0.109)
OKLCHoklch(55.79% 0.118 112)
XYZxyz(14.5404, 17.8147, 3.2448)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767A12 #16127A
analogous
#7A4A12 #767A12 #427A12
triadic
#767A12 #12767A #7A1276
tetradic
#767A12 #127A4A #16127A #7A1242
square
#767A12 #127A4A #16127A #7A1242
split-complementary
#767A12 #12427A #4A127A
monochromatic
#1A1B04 #42450A #767A12 #AAAF1A #D8DF27

Accessibility & contrast

On white

4.60
#767A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#767A12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #767A12
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767A12#FFFFFF#000000##FFFFFF
##767A121.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#85761D
Tritanopia (blue-blind)
#7F7268
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #767a12;
/* rgb */ color: rgb(118, 122, 18);
/* oklch */ color: oklch(55.8% 0.118 112.0);
Tailwind
colors: {
  custom: {
    50: '#a1a05c',
    500: '#767a12',
    950: '#000000',
  },
}
SCSS
$custom: #767a12;
$custom-light: #a1a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#767a12",
  "rgb": {
    "r": 118,
    "g": 122,
    "b": 18
  },
  "hsl": {
    "h": 62.308,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.55791,
    "c": 0.11762,
    "h": 112
  },
  "luminance": 0.17814
}

Semantic roles & 50–950 ramp

primary
#767A12
secondary
#3C38B0
accent
#37F13E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #767A12

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

Preview Lab → · Contrast checker → · Palette generator →

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