#768118#768118

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

Color values

HEX#768118
RGBrgb(118, 129, 24)
HSLhsl(66, 69%, 30%)
HSVhsv(66, 81%, 51%)
CMYKcmyk(8.5%, 0%, 81.4%, 49.4%)
CIE-LABlab(51.40, -17.44, 50.65)
CIE-LCHlch(51.40, 53.57, 108.99°)
OKLaboklab(57.51% -0.0533 0.1104)
OKLCHoklch(57.51% 0.123 115.8)
XYZxyz(15.4868, 19.6183, 3.8349)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768118 #231881
analogous
#815818 #768118 #418118
triadic
#768118 #187681 #811876
tetradic
#768118 #188158 #231881 #811841
square
#768118 #188158 #231881 #811841
split-complementary
#768118 #184181 #581881
monochromatic
#181A05 #474D0E #768118 #A5B522 #C9DA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768118#FFFFFF#000000##000000
##7681181.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)
#8A7B22
Tritanopia (blue-blind)
#7E796E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #768118;
/* rgb */ color: rgb(118, 129, 24);
/* oklch */ color: oklch(57.5% 0.123 115.8);
Tailwind
colors: {
  custom: {
    50: '#a1a55f',
    500: '#768118',
    950: '#000000',
  },
}
SCSS
$custom: #768118;
$custom-light: #a1a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#768118",
  "rgb": {
    "r": 118,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 66.286,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.5751,
    "c": 0.12264,
    "h": 115.8
  },
  "luminance": 0.19618
}

Semantic roles & 50–950 ramp

primary
#768118
secondary
#4C40B5
accent
#3CEB4F
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #768118

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

Preview Lab → · Contrast checker → · Palette generator →

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