#768229#768229

#768229 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 57.9% C 0.113 H 116.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#768229
RGBrgb(118, 130, 41)
HSLhsl(68, 52%, 34%)
HSVhsv(68, 68%, 51%)
CMYKcmyk(9.2%, 0%, 68.5%, 49%)
CIE-LABlab(51.81, -17.05, 44.74)
CIE-LCHlch(51.81, 47.88, 110.87°)
OKLaboklab(57.87% -0.0507 0.101)
OKLCHoklch(57.87% 0.113 116.6)
XYZxyz(15.8544, 19.9771, 5.1182)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768229 #352982
analogous
#826129 #768229 #498229
triadic
#768229 #297682 #822976
tetradic
#768229 #298261 #352982 #822949
square
#768229 #298261 #352982 #822949
split-complementary
#768229 #294982 #612982
monochromatic
#22250C #4C531A #768229 #A0B138 #BCCB5A

Accessibility & contrast

On white

4.20
#768229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#768229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768229
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768229#FFFFFF#000000##000000
##7682291.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1C
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#7D7B70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #768229;
/* rgb */ color: rgb(118, 130, 41);
/* oklch */ color: oklch(57.9% 0.113 116.6);
Tailwind
colors: {
  custom: {
    50: '#a0a668',
    500: '#768229',
    950: '#000000',
  },
}
SCSS
$custom: #768229;
$custom-light: #a0a668;
$custom-dark: #000000;
JSON
{
  "hex": "#768229",
  "rgb": {
    "r": 118,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 68.09,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57872,
    "c": 0.11299,
    "h": 116.6
  },
  "luminance": 0.19977
}

Semantic roles & 50–950 ramp

primary
#768229
secondary
#6356B0
accent
#4CDB60
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768229

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

Preview Lab → · Contrast checker → · Palette generator →

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