#C7BD4A#C7BD4A

#C7BD4A is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.5% C 0.135 H 104.3°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#C7BD4A
RGBrgb(199, 189, 74)
HSLhsl(55, 53%, 54%)
HSVhsv(55, 63%, 78%)
CMYKcmyk(0%, 5%, 62.8%, 22%)
CIE-LABlab(75.47, -10.47, 57.55)
CIE-LCHlch(75.47, 58.49, 100.32°)
OKLaboklab(78.5% -0.0335 0.131)
OKLCHoklch(78.5% 0.135 104.3)
XYZxyz(42.9884, 49.0333, 13.6772)
Luminance0.4903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BD4A #4A54C7
analogous
#C77E4A #C7BD4A #92C74A
triadic
#C7BD4A #4AC7BD #BD4AC7
tetradic
#C7BD4A #4AC77E #4A54C7 #C74A92
square
#C7BD4A #4AC77E #4A54C7 #C74A92
split-complementary
#C7BD4A #4A92C7 #7E4AC7
monochromatic
#736D24 #A29932 #C7BD4A #D5CE79 #E4DFA7

Accessibility & contrast

On white

1.94
#C7BD4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#C7BD4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BD4A
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BD4A#FFFFFF#000000##000000
##C7BD4A1.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB73C
Deuteranopia (green-blind)
#D0BC51
Tritanopia (blue-blind)
#D5B1A5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c7bd4a;
/* rgb */ color: rgb(199, 189, 74);
/* oklch */ color: oklch(78.5% 0.135 104.3);
Tailwind
colors: {
  custom: {
    50: '#dbd082',
    500: '#c7bd4a',
    950: '#000000',
  },
}
SCSS
$custom: #c7bd4a;
$custom-light: #dbd082;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bd4a",
  "rgb": {
    "r": 199,
    "g": 189,
    "b": 74
  },
  "hsl": {
    "h": 55.2,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78495,
    "c": 0.1352,
    "h": 104.3
  },
  "luminance": 0.49032
}

Semantic roles & 50–950 ramp

primary
#C7BD4A
secondary
#9CA0D1
accent
#57DC4C
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C7BD4A

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

Preview Lab → · Contrast checker → · Palette generator →

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