#C7BF40#C7BF40

#C7BF40 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.8% C 0.144 H 105.7°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#C7BF40
RGBrgb(199, 191, 64)
HSLhsl(56, 55%, 52%)
HSVhsv(56, 68%, 78%)
CMYKcmyk(0%, 4%, 67.8%, 22%)
CIE-LABlab(75.93, -12.09, 62.12)
CIE-LCHlch(75.93, 63.28, 101.01°)
OKLaboklab(78.84% -0.0391 0.1391)
OKLCHoklch(78.84% 0.144 105.7)
XYZxyz(43.1111, 49.7754, 12.1862)
Luminance0.4977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BF40 #4048C7
analogous
#C77B40 #C7BF40 #8CC740
triadic
#C7BF40 #40C7BF #BF40C7
tetradic
#C7BF40 #40C77B #4048C7 #C7408C
square
#C7BF40 #40C77B #4048C7 #C7408C
split-complementary
#C7BF40 #408CC7 #7B40C7
monochromatic
#6D6820 #9C962E #C7BF40 #D5CF6F #E3DF9F

Accessibility & contrast

On white

1.92
#C7BF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#C7BF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BF40
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BF40#FFFFFF#000000##000000
##C7BF401.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82D
Deuteranopia (green-blind)
#D2BE48
Tritanopia (blue-blind)
#D5B2A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c7bf40;
/* rgb */ color: rgb(199, 191, 64);
/* oklch */ color: oklch(78.8% 0.144 105.7);
Tailwind
colors: {
  custom: {
    50: '#dbd27c',
    500: '#c7bf40',
    950: '#000000',
  },
}
SCSS
$custom: #c7bf40;
$custom-light: #dbd27c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bf40",
  "rgb": {
    "r": 199,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 56.444,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.78836,
    "c": 0.14448,
    "h": 105.7
  },
  "luminance": 0.49774
}

Semantic roles & 50–950 ramp

primary
#C7BF40
secondary
#9497CF
accent
#53DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C7BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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