#768124#768124

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

Color values

HEX#768124
RGBrgb(118, 129, 36)
HSLhsl(67, 56%, 32%)
HSVhsv(67, 72%, 51%)
CMYKcmyk(8.5%, 0%, 72.1%, 49.4%)
CIE-LABlab(51.47, -16.84, 46.46)
CIE-LCHlch(51.47, 49.42, 109.92°)
OKLaboklab(57.59% -0.0506 0.1038)
OKLCHoklch(57.59% 0.115 116)
XYZxyz(15.6403, 19.6797, 4.6434)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768124 #2F2481
analogous
#815E24 #768124 #478124
triadic
#768124 #247681 #812476
tetradic
#768124 #24815E #2F2481 #812447
square
#768124 #24815E #2F2481 #812447
split-complementary
#768124 #244781 #5E2481
monochromatic
#1E2109 #4A5117 #768124 #A2B131 #C0CE51

Accessibility & contrast

On white

4.25
#768124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#768124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768124
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768124#FFFFFF#000000##000000
##7681241.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A15
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#7E796F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #768124;
/* rgb */ color: rgb(118, 129, 36);
/* oklch */ color: oklch(57.6% 0.115 116.0);
Tailwind
colors: {
  custom: {
    50: '#a0a565',
    500: '#768124',
    950: '#000000',
  },
}
SCSS
$custom: #768124;
$custom-light: #a0a565;
$custom-dark: #000000;
JSON
{
  "hex": "#768124",
  "rgb": {
    "r": 118,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 67.097,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57589,
    "c": 0.11545,
    "h": 116
  },
  "luminance": 0.19679
}

Semantic roles & 50–950 ramp

primary
#768124
secondary
#5A4EB2
accent
#48E05A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768124

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

Preview Lab → · Contrast checker → · Palette generator →

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