#768233#768233

#768233 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.0% C 0.104 H 117.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#768233
RGBrgb(118, 130, 51)
HSLhsl(69, 44%, 35%)
HSVhsv(69, 61%, 51%)
CMYKcmyk(9.2%, 0%, 60.8%, 49%)
CIE-LABlab(51.90, -16.30, 40.30)
CIE-LCHlch(51.90, 43.48, 112.02°)
OKLaboklab(57.97% -0.0475 0.0931)
OKLCHoklch(57.97% 0.105 117)
XYZxyz(16.0517, 20.0560, 6.1569)
Luminance0.2006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768233 #3F3382
analogous
#826633 #768233 #4E8233
triadic
#768233 #337682 #823376
tetradic
#768233 #338266 #3F3382 #82334E
square
#768233 #338266 #3F3382 #82334E
split-complementary
#768233 #334E82 #663382
monochromatic
#262A11 #4E5622 #768233 #9EAE44 #B7C56B

Accessibility & contrast

On white

4.19
#768233 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#768233 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768233
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768233#FFFFFF#000000##000000
##7682331.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B2A
Deuteranopia (green-blind)
#897C38
Tritanopia (blue-blind)
#7D7B71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #768233;
/* rgb */ color: rgb(118, 130, 51);
/* oklch */ color: oklch(58.0% 0.104 117.0);
Tailwind
colors: {
  custom: {
    50: '#9fa66e',
    500: '#768233',
    950: '#000000',
  },
}
SCSS
$custom: #768233;
$custom-light: #9fa66e;
$custom-dark: #000000;
JSON
{
  "hex": "#768233",
  "rgb": {
    "r": 118,
    "g": 130,
    "b": 51
  },
  "hsl": {
    "h": 69.114,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57972,
    "c": 0.1045,
    "h": 117
  },
  "luminance": 0.20056
}

Semantic roles & 50–950 ramp

primary
#768233
secondary
#6F64AD
accent
#54D368
background
#FAFAF6
surface
#F3F4EC
border
#CDCEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #768233

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

Preview Lab → · Contrast checker → · Palette generator →

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