#767F12#767F12

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

Color values

HEX#767F12
RGBrgb(118, 127, 18)
HSLhsl(65, 75%, 28%)
HSVhsv(65, 86%, 50%)
CMYKcmyk(7.1%, 0%, 85.8%, 50.2%)
CIE-LABlab(50.77, -16.60, 51.81)
CIE-LCHlch(50.77, 54.41, 107.76°)
OKLaboklab(57% -0.0515 0.1118)
OKLCHoklch(57% 0.123 114.7)
XYZxyz(15.1702, 19.0743, 3.4547)
Luminance0.1907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767F12 #1B127F
analogous
#7F5112 #767F12 #3F7F12
triadic
#767F12 #12767F #7F1276
tetradic
#767F12 #127F51 #1B127F #7F123F
square
#767F12 #127F51 #1B127F #7F123F
split-complementary
#767F12 #123F7F #51127F
monochromatic
#191B04 #44490A #767F12 #A8B51A #D2E12B

Accessibility & contrast

On white

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

On black

4.81
#767F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767F12
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767F12#FFFFFF#000000##000000
##767F121.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#887A1E
Tritanopia (blue-blind)
#7E776C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #767f12;
/* rgb */ color: rgb(118, 127, 18);
/* oklch */ color: oklch(57.0% 0.123 114.7);
Tailwind
colors: {
  custom: {
    50: '#a1a45d',
    500: '#767f12',
    950: '#000000',
  },
}
SCSS
$custom: #767f12;
$custom-light: #a1a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#767f12",
  "rgb": {
    "r": 118,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 64.954,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56997,
    "c": 0.1231,
    "h": 114.7
  },
  "luminance": 0.19074
}

Semantic roles & 50–950 ramp

primary
#767F12
secondary
#4238B5
accent
#36F246
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #767F12

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

Preview Lab → · Contrast checker → · Palette generator →

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