#768122#768122

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

Color values

HEX#768122
RGBrgb(118, 129, 34)
HSLhsl(67, 58%, 32%)
HSVhsv(67, 74%, 51%)
CMYKcmyk(8.5%, 0%, 73.6%, 49.4%)
CIE-LABlab(51.46, -16.95, 47.23)
CIE-LCHlch(51.46, 50.18, 109.75°)
OKLaboklab(57.57% -0.0511 0.105)
OKLCHoklch(57.57% 0.117 116)
XYZxyz(15.6106, 19.6678, 4.4870)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768122 #2D2281
analogous
#815D22 #768122 #478122
triadic
#768122 #227681 #812276
tetradic
#768122 #22815D #2D2281 #812247
square
#768122 #22815D #2D2281 #812247
split-complementary
#768122 #224781 #5D2281
monochromatic
#1D2008 #4A5115 #768122 #A2B12F #C1D04D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768122#FFFFFF#000000##000000
##7681221.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)
#8A7A11
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#7E796F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #768122;
/* rgb */ color: rgb(118, 129, 34);
/* oklch */ color: oklch(57.6% 0.117 116.0);
Tailwind
colors: {
  custom: {
    50: '#a0a564',
    500: '#768122',
    950: '#000000',
  },
}
SCSS
$custom: #768122;
$custom-light: #a0a564;
$custom-dark: #000000;
JSON
{
  "hex": "#768122",
  "rgb": {
    "r": 118,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 66.947,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57573,
    "c": 0.11681,
    "h": 116
  },
  "luminance": 0.19668
}

Semantic roles & 50–950 ramp

primary
#768122
secondary
#574BB3
accent
#46E158
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768122

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

Preview Lab → · Contrast checker → · Palette generator →

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