#768120#768120

#768120 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.6% C 0.118 H 115.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#768120
RGBrgb(118, 129, 32)
HSLhsl(67, 60%, 32%)
HSVhsv(67, 75%, 51%)
CMYKcmyk(8.5%, 0%, 75.2%, 49.4%)
CIE-LABlab(51.45, -17.06, 47.97)
CIE-LCHlch(51.45, 50.92, 109.58°)
OKLaboklab(57.56% -0.0516 0.1062)
OKLCHoklch(57.56% 0.118 115.9)
XYZxyz(15.5826, 19.6566, 4.3394)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768120 #2B2081
analogous
#815C20 #768120 #468120
triadic
#768120 #207681 #812076
tetradic
#768120 #20815C #2B2081 #812046
square
#768120 #20815C #2B2081 #812046
split-complementary
#768120 #204681 #5C2081
monochromatic
#1C1F08 #495014 #768120 #A3B22C #C2D249

Accessibility & contrast

On white

4.26
#768120 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#768120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768120
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768120#FFFFFF#000000##000000
##7681201.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0D
Deuteranopia (green-blind)
#8A7B28
Tritanopia (blue-blind)
#7E796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #768120;
/* rgb */ color: rgb(118, 129, 32);
/* oklch */ color: oklch(57.6% 0.118 115.9);
Tailwind
colors: {
  custom: {
    50: '#a0a563',
    500: '#768120',
    950: '#000000',
  },
}
SCSS
$custom: #768120;
$custom-light: #a0a563;
$custom-dark: #000000;
JSON
{
  "hex": "#768120",
  "rgb": {
    "r": 118,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 66.804,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57559,
    "c": 0.11811,
    "h": 115.9
  },
  "luminance": 0.19656
}

Semantic roles & 50–950 ramp

primary
#768120
secondary
#5549B4
accent
#44E356
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768120

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

Preview Lab → · Contrast checker → · Palette generator →

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