#768224#768224

#768224 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 57.8% C 0.117 H 116.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#768224
RGBrgb(118, 130, 36)
HSLhsl(68, 57%, 33%)
HSVhsv(68, 72%, 51%)
CMYKcmyk(9.2%, 0%, 72.3%, 49%)
CIE-LABlab(51.77, -17.37, 46.76)
CIE-LCHlch(51.77, 49.88, 110.38°)
OKLaboklab(57.83% -0.0521 0.1044)
OKLCHoklch(57.83% 0.117 116.5)
XYZxyz(15.7727, 19.9444, 4.6875)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768224 #302482
analogous
#825F24 #768224 #478224
triadic
#768224 #247682 #822476
tetradic
#768224 #24825F #302482 #822447
square
#768224 #24825F #302482 #822447
split-complementary
#768224 #244782 #5F2482
monochromatic
#1F2209 #4A5217 #768224 #A2B231 #BFCF51

Accessibility & contrast

On white

4.21
#768224 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#768224 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768224
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768224#FFFFFF#000000##000000
##7682241.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B14
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#7E7A70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #768224;
/* rgb */ color: rgb(118, 130, 36);
/* oklch */ color: oklch(57.8% 0.117 116.5);
Tailwind
colors: {
  custom: {
    50: '#a0a665',
    500: '#768224',
    950: '#000000',
  },
}
SCSS
$custom: #768224;
$custom-light: #a0a665;
$custom-dark: #000000;
JSON
{
  "hex": "#768224",
  "rgb": {
    "r": 118,
    "g": 130,
    "b": 36
  },
  "hsl": {
    "h": 67.66,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57831,
    "c": 0.11666,
    "h": 116.5
  },
  "luminance": 0.19944
}

Semantic roles & 50–950 ramp

primary
#768224
secondary
#5C4FB3
accent
#48E05B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768224

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

Preview Lab → · Contrast checker → · Palette generator →

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