#768223#768223

#768223 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#768223
RGBrgb(118, 130, 35)
HSLhsl(68, 58%, 32%)
HSVhsv(68, 73%, 51%)
CMYKcmyk(9.2%, 0%, 73.1%, 49%)
CIE-LABlab(51.77, -17.43, 47.14)
CIE-LCHlch(51.77, 50.26, 110.29°)
OKLaboklab(57.82% -0.0523 0.105)
OKLCHoklch(57.82% 0.117 116.5)
XYZxyz(15.7576, 19.9384, 4.6082)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768223 #2F2382
analogous
#825F23 #768223 #468223
triadic
#768223 #237682 #822376
tetradic
#768223 #23825F #2F2382 #822346
square
#768223 #23825F #2F2382 #822346
split-complementary
#768223 #234682 #5F2382
monochromatic
#1E2209 #4A5216 #768223 #A2B230 #C0D050

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768223#FFFFFF#000000##000000
##7682231.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)
#8B7B12
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#7E7A6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #768223;
/* rgb */ color: rgb(118, 130, 35);
/* oklch */ color: oklch(57.8% 0.117 116.5);
Tailwind
colors: {
  custom: {
    50: '#a0a665',
    500: '#768223',
    950: '#000000',
  },
}
SCSS
$custom: #768223;
$custom-light: #a0a665;
$custom-dark: #000000;
JSON
{
  "hex": "#768223",
  "rgb": {
    "r": 118,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 67.579,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57823,
    "c": 0.11734,
    "h": 116.5
  },
  "luminance": 0.19938
}

Semantic roles & 50–950 ramp

primary
#768223
secondary
#5A4DB3
accent
#47E15A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768223

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

Preview Lab → · Contrast checker → · Palette generator →

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