#767D12#767D12

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

Color values

HEX#767D12
RGBrgb(118, 125, 18)
HSLhsl(64, 75%, 28%)
HSVhsv(64, 86%, 49%)
CMYKcmyk(5.6%, 0%, 85.6%, 51%)
CIE-LABlab(50.17, -15.54, 51.30)
CIE-LCHlch(50.17, 53.60, 106.85°)
OKLaboklab(56.51% -0.0486 0.1107)
OKLCHoklch(56.51% 0.121 113.7)
XYZxyz(14.9145, 18.5628, 3.3695)
Luminance0.1856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767D12 #19127D
analogous
#7D4E12 #767D12 #407D12
triadic
#767D12 #12767D #7D1276
tetradic
#767D12 #127D4E #19127D #7D1240
square
#767D12 #127D4E #19127D #7D1240
split-complementary
#767D12 #12407D #4E127D
monochromatic
#191B04 #43480A #767D12 #A9B21A #D4E029

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##767D12#FFFFFF#000000##000000
##767D121.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)
#87781D
Tritanopia (blue-blind)
#7F756A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #767d12;
/* rgb */ color: rgb(118, 125, 18);
/* oklch */ color: oklch(56.5% 0.121 113.7);
Tailwind
colors: {
  custom: {
    50: '#a1a25d',
    500: '#767d12',
    950: '#000000',
  },
}
SCSS
$custom: #767d12;
$custom-light: #a1a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#767d12",
  "rgb": {
    "r": 118,
    "g": 125,
    "b": 18
  },
  "hsl": {
    "h": 63.925,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.56514,
    "c": 0.12089,
    "h": 113.7
  },
  "luminance": 0.18562
}

Semantic roles & 50–950 ramp

primary
#767D12
secondary
#4038B3
accent
#36F143
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #767D12

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

Preview Lab → · Contrast checker → · Palette generator →

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