#768112#768112

#768112 is a mid, vivid yellow. Relative luminance 0.196; OKLCH L 57.5% C 0.125 H 115.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#768112
RGBrgb(118, 129, 18)
HSLhsl(66, 76%, 29%)
HSVhsv(66, 86%, 51%)
CMYKcmyk(8.5%, 0%, 86%, 49.4%)
CIE-LABlab(51.38, -17.65, 52.32)
CIE-LCHlch(51.38, 55.22, 108.64°)
OKLaboklab(57.48% -0.0544 0.1129)
OKLCHoklch(57.48% 0.125 115.7)
XYZxyz(15.4311, 19.5960, 3.5417)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768112 #1D1281
analogous
#815512 #768112 #3F8112
triadic
#768112 #127681 #811276
tetradic
#768112 #128155 #1D1281 #81123F
square
#768112 #128155 #1D1281 #81123F
split-complementary
#768112 #123F81 #551281
monochromatic
#191B04 #454B0B #768112 #A7B719 #D0E22C

Accessibility & contrast

On white

4.27
#768112 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#768112 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768112
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768112#FFFFFF#000000##000000
##7681121.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8A7B1E
Tritanopia (blue-blind)
#7E796E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #768112;
/* rgb */ color: rgb(118, 129, 18);
/* oklch */ color: oklch(57.5% 0.125 115.7);
Tailwind
colors: {
  custom: {
    50: '#a1a55d',
    500: '#768112',
    950: '#000000',
  },
}
SCSS
$custom: #768112;
$custom-light: #a1a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#768112",
  "rgb": {
    "r": 118,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 65.946,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.57481,
    "c": 0.12534,
    "h": 115.7
  },
  "luminance": 0.19596
}

Semantic roles & 50–950 ramp

primary
#768112
secondary
#4538B7
accent
#36F248
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #768112

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

Preview Lab → · Contrast checker → · Palette generator →

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