#767C12#767C12

#767C12 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.3% C 0.120 H 113.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#767C12
RGBrgb(118, 124, 18)
HSLhsl(63, 75%, 28%)
HSVhsv(63, 85%, 49%)
CMYKcmyk(4.8%, 0%, 85.5%, 51.4%)
CIE-LABlab(49.87, -15.00, 51.04)
CIE-LCHlch(49.87, 53.20, 106.38°)
OKLaboklab(56.27% -0.0471 0.1102)
OKLCHoklch(56.27% 0.12 113.1)
XYZxyz(14.7885, 18.3109, 3.3275)
Luminance0.1831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767C12 #18127C
analogous
#7C4D12 #767C12 #417C12
triadic
#767C12 #12767C #7C1276
tetradic
#767C12 #127C4D #18127C #7C1241
square
#767C12 #127C4D #18127C #7C1241
split-complementary
#767C12 #12417C #4D127C
monochromatic
#191B04 #43470A #767C12 #A9B11A #D5E029

Accessibility & contrast

On white

4.50
#767C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#767C12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767C12
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767C12#FFFFFF#000000##000000
##767C121.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#86781D
Tritanopia (blue-blind)
#7F7469
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #767c12;
/* rgb */ color: rgb(118, 124, 18);
/* oklch */ color: oklch(56.3% 0.120 113.1);
Tailwind
colors: {
  custom: {
    50: '#a1a15c',
    500: '#767c12',
    950: '#000000',
  },
}
SCSS
$custom: #767c12;
$custom-light: #a1a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#767c12",
  "rgb": {
    "r": 118,
    "g": 124,
    "b": 18
  },
  "hsl": {
    "h": 63.396,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.56272,
    "c": 0.11979,
    "h": 113.1
  },
  "luminance": 0.18311
}

Semantic roles & 50–950 ramp

primary
#767C12
secondary
#3F38B2
accent
#37F141
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #767C12

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

Preview Lab → · Contrast checker → · Palette generator →

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