#788025#788025

#788025 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.5% C 0.113 H 114.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#788025
RGBrgb(120, 128, 37)
HSLhsl(65, 55%, 32%)
HSVhsv(65, 71%, 50%)
CMYKcmyk(6.3%, 0%, 71.1%, 49.8%)
CIE-LABlab(51.34, -15.35, 45.98)
CIE-LCHlch(51.34, 48.47, 108.46°)
OKLaboklab(57.53% -0.0465 0.1029)
OKLCHoklch(57.53% 0.113 114.3)
XYZxyz(15.7993, 19.5653, 4.6941)
Luminance0.1956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788025 #2D2580
analogous
#805B25 #788025 #4A8025
triadic
#788025 #257880 #802578
tetradic
#788025 #25805B #2D2580 #80254A
square
#788025 #25805B #2D2580 #80254A
split-complementary
#788025 #254A80 #5B2580
monochromatic
#1F210A #4B5117 #788025 #A5AF33 #C2CD52

Accessibility & contrast

On white

4.27
#788025 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#788025 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788025
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788025#FFFFFF#000000##000000
##7880251.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A17
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#80786E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #788025;
/* rgb */ color: rgb(120, 128, 37);
/* oklch */ color: oklch(57.5% 0.113 114.3);
Tailwind
colors: {
  custom: {
    50: '#a2a466',
    500: '#788025',
    950: '#000000',
  },
}
SCSS
$custom: #788025;
$custom-light: #a2a466;
$custom-dark: #000000;
JSON
{
  "hex": "#788025",
  "rgb": {
    "r": 120,
    "g": 128,
    "b": 37
  },
  "hsl": {
    "h": 65.275,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57526,
    "c": 0.11288,
    "h": 114.3
  },
  "luminance": 0.19565
}

Semantic roles & 50–950 ramp

primary
#788025
secondary
#5850B1
accent
#49DE56
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #788025

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

Preview Lab → · Contrast checker → · Palette generator →

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