#C7BD40#C7BD40

#C7BD40 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.4% C 0.143 H 104.7°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#C7BD40
RGBrgb(199, 189, 64)
HSLhsl(56, 55%, 52%)
HSVhsv(56, 68%, 78%)
CMYKcmyk(0%, 5%, 67.8%, 22%)
CIE-LABlab(75.39, -11.07, 61.58)
CIE-LCHlch(75.39, 62.56, 100.19°)
OKLaboklab(78.41% -0.0363 0.1379)
OKLCHoklch(78.41% 0.143 104.7)
XYZxyz(42.6779, 48.9091, 12.0418)
Luminance0.4891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BD40 #404AC7
analogous
#C77A40 #C7BD40 #8DC740
triadic
#C7BD40 #40C7BD #BD40C7
tetradic
#C7BD40 #40C77A #404AC7 #C7408D
square
#C7BD40 #40C77A #404AC7 #C7408D
split-complementary
#C7BD40 #408DC7 #7A40C7
monochromatic
#6D6720 #9C942E #C7BD40 #D5CD6F #E3DE9F

Accessibility & contrast

On white

1.95
#C7BD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#C7BD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BD40
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BD40#FFFFFF#000000##000000
##C7BD401.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62E
Deuteranopia (green-blind)
#D1BC48
Tritanopia (blue-blind)
#D5B0A4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c7bd40;
/* rgb */ color: rgb(199, 189, 64);
/* oklch */ color: oklch(78.4% 0.143 104.7);
Tailwind
colors: {
  custom: {
    50: '#dbd07c',
    500: '#c7bd40',
    950: '#000000',
  },
}
SCSS
$custom: #c7bd40;
$custom-light: #dbd07c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bd40",
  "rgb": {
    "r": 199,
    "g": 189,
    "b": 64
  },
  "hsl": {
    "h": 55.556,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.78409,
    "c": 0.14262,
    "h": 104.7
  },
  "luminance": 0.48907
}

Semantic roles & 50–950 ramp

primary
#C7BD40
secondary
#9498CF
accent
#55DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7BD40

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

Preview Lab → · Contrast checker → · Palette generator →

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