#C7BD57#C7BD57

#C7BD57 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.6% C 0.124 H 103.7°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#C7BD57
RGBrgb(199, 189, 87)
HSLhsl(55, 50%, 56%)
HSVhsv(55, 56%, 78%)
CMYKcmyk(0%, 5%, 56.3%, 22%)
CIE-LABlab(75.59, -9.56, 51.88)
CIE-LCHlch(75.59, 52.75, 100.44°)
OKLaboklab(78.63% -0.0294 0.1206)
OKLCHoklch(78.63% 0.124 103.7)
XYZxyz(43.4725, 49.2269, 16.2268)
Luminance0.4923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BD57 #5761C7
analogous
#C78557 #C7BD57 #99C757
triadic
#C7BD57 #57C7BD #BD57C7
tetradic
#C7BD57 #57C785 #5761C7 #C75799
square
#C7BD57 #57C785 #5761C7 #C75799
split-complementary
#C7BD57 #5799C7 #8557C7
monochromatic
#7B7329 #A99F38 #C7BD57 #D6CF85 #E6E1B3

Accessibility & contrast

On white

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

On black

10.85
#C7BD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BD57
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BD57#FFFFFF#000000##000000
##C7BD571.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB74D
Deuteranopia (green-blind)
#CFBD5C
Tritanopia (blue-blind)
#D4B2A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c7bd57;
/* rgb */ color: rgb(199, 189, 87);
/* oklch */ color: oklch(78.6% 0.124 103.7);
Tailwind
colors: {
  custom: {
    50: '#dad08a',
    500: '#c7bd57',
    950: '#000000',
  },
}
SCSS
$custom: #c7bd57;
$custom-light: #dad08a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bd57",
  "rgb": {
    "r": 199,
    "g": 189,
    "b": 87
  },
  "hsl": {
    "h": 54.643,
    "s": 50,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78629,
    "c": 0.12414,
    "h": 103.7
  },
  "luminance": 0.49225
}

Semantic roles & 50–950 ramp

primary
#C7BD57
secondary
#A6AAD4
accent
#5BDA4E
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140C
muted
#83827D

Preview Lab

Preview with #C7BD57

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

Preview Lab → · Contrast checker → · Palette generator →

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