#767212#767212

#767212 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.9% C 0.109 H 107.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#767212
RGBrgb(118, 114, 18)
HSLhsl(58, 74%, 27%)
HSVhsv(58, 85%, 46%)
CMYKcmyk(0%, 3.4%, 84.7%, 53.7%)
CIE-LABlab(46.88, -9.54, 48.48)
CIE-LCHlch(46.88, 49.41, 101.13°)
OKLaboklab(53.88% -0.0319 0.1046)
OKLCHoklch(53.88% 0.109 107)
XYZxyz(13.5983, 15.9304, 2.9307)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767212 #121676
analogous
#764012 #767212 #487612
triadic
#767212 #127672 #721276
tetradic
#767212 #127640 #121676 #761248
square
#767212 #127640 #121676 #761248
split-complementary
#767212 #124876 #401276
monochromatic
#1B1A04 #413F0A #767212 #ABA51A #DED625

Accessibility & contrast

On white

5.02
#767212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#767212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767212
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767212#FFFFFF#000000##FFFFFF
##7672121.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#7E711B
Tritanopia (blue-blind)
#7F6A61
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #767212;
/* rgb */ color: rgb(118, 114, 18);
/* oklch */ color: oklch(53.9% 0.109 107.0);
Tailwind
colors: {
  custom: {
    50: '#a19a5b',
    500: '#767212',
    950: '#000000',
  },
}
SCSS
$custom: #767212;
$custom-light: #a19a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#767212",
  "rgb": {
    "r": 118,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 57.6,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.53883,
    "c": 0.10938,
    "h": 107
  },
  "luminance": 0.1593
}

Semantic roles & 50–950 ramp

primary
#767212
secondary
#373CAD
accent
#3FF038
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #767212

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

Preview Lab → · Contrast checker → · Palette generator →

#767212 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva