#C7B450#C7B450

#C7B450 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.7% C 0.122 H 98.6°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#C7B450
RGBrgb(199, 180, 80)
HSLhsl(50, 52%, 55%)
HSVhsv(50, 60%, 78%)
CMYKcmyk(0%, 9.5%, 59.8%, 22%)
CIE-LABlab(73.13, -5.41, 52.33)
CIE-LCHlch(73.13, 52.61, 95.90°)
OKLaboklab(76.66% -0.0183 0.1207)
OKLCHoklch(76.66% 0.122 98.6)
XYZxyz(41.3240, 45.3656, 14.1676)
Luminance0.4536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B450 #5063C7
analogous
#C77950 #C7B450 #9FC750
triadic
#C7B450 #50C7B4 #B450C7
tetradic
#C7B450 #50C779 #5063C7 #C7509F
square
#C7B450 #50C779 #5063C7 #C7509F
split-complementary
#C7B450 #509FC7 #7950C7
monochromatic
#776A26 #A59335 #C7B450 #D6C87E #E5DCAD

Accessibility & contrast

On white

2.08
#C7B450 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#C7B450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B450
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B450#FFFFFF#000000##000000
##C7B4501.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B045
Deuteranopia (green-blind)
#C9B755
Tritanopia (blue-blind)
#D5A89E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c7b450;
/* rgb */ color: rgb(199, 180, 80);
/* oklch */ color: oklch(76.7% 0.122 98.6);
Tailwind
colors: {
  custom: {
    50: '#dbca85',
    500: '#c7b450',
    950: '#000000',
  },
}
SCSS
$custom: #c7b450;
$custom-light: #dbca85;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b450",
  "rgb": {
    "r": 199,
    "g": 180,
    "b": 80
  },
  "hsl": {
    "h": 50.42,
    "s": 51.515,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76655,
    "c": 0.12209,
    "h": 98.6
  },
  "luminance": 0.45364
}

Semantic roles & 50–950 ramp

primary
#C7B450
secondary
#A0A8D2
accent
#64DB4D
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C7B450

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

Preview Lab → · Contrast checker → · Palette generator →

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