#768225#768225

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

Color values

HEX#768225
RGBrgb(118, 130, 37)
HSLhsl(68, 56%, 33%)
HSVhsv(68, 72%, 51%)
CMYKcmyk(9.2%, 0%, 71.5%, 49%)
CIE-LABlab(51.78, -17.31, 46.36)
CIE-LCHlch(51.78, 49.49, 110.47°)
OKLaboklab(57.84% -0.0518 0.1037)
OKLCHoklch(57.84% 0.116 116.5)
XYZxyz(15.7881, 19.9506, 4.7690)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768225 #312582
analogous
#825F25 #768225 #478225
triadic
#768225 #257682 #822576
tetradic
#768225 #25825F #312582 #822547
square
#768225 #25825F #312582 #822547
split-complementary
#768225 #254782 #5F2582
monochromatic
#20230A #4B5217 #768225 #A1B233 #BECE53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768225#FFFFFF#000000##000000
##7682251.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)
#8B7B16
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#7E7A70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #768225;
/* rgb */ color: rgb(118, 130, 37);
/* oklch */ color: oklch(57.8% 0.116 116.5);
Tailwind
colors: {
  custom: {
    50: '#a0a666',
    500: '#768225',
    950: '#000000',
  },
}
SCSS
$custom: #768225;
$custom-light: #a0a666;
$custom-dark: #000000;
JSON
{
  "hex": "#768225",
  "rgb": {
    "r": 118,
    "g": 130,
    "b": 37
  },
  "hsl": {
    "h": 67.742,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57838,
    "c": 0.11595,
    "h": 116.5
  },
  "luminance": 0.1995
}

Semantic roles & 50–950 ramp

primary
#768225
secondary
#5D50B2
accent
#49DF5C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768225

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

Preview Lab → · Contrast checker → · Palette generator →

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